diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-01-22 17:31:15 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-01-22 17:31:15 +0100 |
commit | 6fe2c2b209814d7fe94f60d54c38ae75b1dc67af (patch) | |
tree | 7226b5c27c28ce4ad2b69fafa2bbc3eec13049b3 /run_unittests.py | |
parent | a8477955a71cc3e657887c9673b1dc1f645f788f (diff) | |
download | meson-6fe2c2b209814d7fe94f60d54c38ae75b1dc67af.zip meson-6fe2c2b209814d7fe94f60d54c38ae75b1dc67af.tar.gz meson-6fe2c2b209814d7fe94f60d54c38ae75b1dc67af.tar.bz2 |
Fixed flake8 issues
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index 711621b..e52a15e 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -4917,6 +4917,8 @@ class PythonTests(BasePlatformTests): class RewriterTests(BasePlatformTests): + data_regex = re.compile(r'^\s*!!\s*(\w+)\s+([^=]+)=(.*)$') + def setUp(self): super().setUp() self.maxDiff = None @@ -4931,7 +4933,6 @@ class RewriterTests(BasePlatformTests): universal_newlines=True) return out - data_regex = re.compile(r'^\s*!!\s*(\w+)\s+([^=]+)=(.*)$') def extract_test_data(self, out): lines = out.split('\n') result = {} |