diff options
author | Benjamin Schubert <contact@benschubert.me> | 2020-07-03 11:33:17 +0100 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2020-07-03 11:46:29 +0100 |
commit | 2833a6abd562a628f4039e74a1dadf12661d2b6d (patch) | |
tree | 874362f70d15e42babc6f9c578d6822b8efee0f8 /src/buildstream/testing/_sourcetests/utils.py | |
parent | 94dcc28121a57f5e292ce653ef4b760a7ad3b6a4 (diff) | |
download | buildstream-bschubert/isort.tar.gz |
setup.cfg: Use isort to sort our importsbschubert/isort
Diffstat (limited to 'src/buildstream/testing/_sourcetests/utils.py')
-rw-r--r-- | src/buildstream/testing/_sourcetests/utils.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/buildstream/testing/_sourcetests/utils.py b/src/buildstream/testing/_sourcetests/utils.py index 4cfb696bd..1331ae101 100644 --- a/src/buildstream/testing/_sourcetests/utils.py +++ b/src/buildstream/testing/_sourcetests/utils.py @@ -21,6 +21,10 @@ import os +from buildstream import _yaml + +from .. import ALL_REPO_KINDS + # To make use of these test utilities it is necessary to have pytest # available. However, we don't want to have a hard dependency on # pytest. @@ -31,9 +35,6 @@ except ImportError: msg = "Could not import pytest:\n" "To use the {} module, you must have pytest installed.".format(module_name) raise ImportError(msg) -from buildstream import _yaml -from .. import ALL_REPO_KINDS - # kind() # |