diff options
Diffstat (limited to 'tests/testutils/site.py')
-rw-r--r-- | tests/testutils/site.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/testutils/site.py b/tests/testutils/site.py index 3058e6d6f..8cb5229ae 100644 --- a/tests/testutils/site.py +++ b/tests/testutils/site.py @@ -1,9 +1,6 @@ # Some things resolved about the execution site, # so we dont have to repeat this everywhere # -import os -import sys -import platform from buildstream import utils, ProgramNotFoundError @@ -19,7 +16,3 @@ try: HAVE_OSTREE = True except (ImportError, ValueError): HAVE_OSTREE = False - -IS_LINUX = os.getenv('BST_FORCE_BACKEND', sys.platform).startswith('linux') -IS_WSL = (IS_LINUX and 'Microsoft' in platform.uname().release) -IS_WINDOWS = (os.name == 'nt') |