diff options
-rw-r--r-- | buildstream/plugin.py | 4 | ||||
-rw-r--r-- | setup.cfg | 2 | ||||
-rwxr-xr-x | setup.py | 1 |
3 files changed, 1 insertions, 6 deletions
diff --git a/buildstream/plugin.py b/buildstream/plugin.py index ae5f4018f..775215462 100644 --- a/buildstream/plugin.py +++ b/buildstream/plugin.py @@ -526,9 +526,7 @@ class Plugin(): # @contextmanager def _output_file(self): - if 'BST_TEST_SUITE' in os.environ: - yield sys.stdout - elif not self.__log: + if not self.__log: with open(os.devnull, "w") as output: yield output else: @@ -12,5 +12,3 @@ pep8ignore = tmp/* ALL */lib/python3* ALL */bin/* ALL -env = - D:BST_TEST_SUITE=True @@ -145,6 +145,5 @@ setup(name='BuildStream', 'pytest-datafiles', 'pytest-pep8', 'pytest-cov', - 'pytest-env', 'pytest'], zip_safe=False) |