From 213d9072b684d2dff78d8b4f1c7cfa9d6335b0d0 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Wed, 8 Nov 2017 20:40:08 +0900 Subject: Refactor: Move context.py -> _context.py Consequently: o Changed Plugin.get_context() to a private Plugin._get_context() accessor. o Updated anything which imports Context to do so from private _context module o Updated docs to exclude the now private Context --- tests/context/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/context') diff --git a/tests/context/context.py b/tests/context/context.py index be0dd8a55..0db589a1a 100644 --- a/tests/context/context.py +++ b/tests/context/context.py @@ -1,7 +1,7 @@ import os import pytest -from buildstream import Context +from buildstream._context import Context from buildstream._exceptions import LoadError, LoadErrorReason from tests.testutils.site import HAVE_ROOT -- cgit v1.2.1