diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-31 21:03:40 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-01-10 18:36:57 -0500 |
commit | 98a41ec24e77d7670ea83fd986853d0fe7cb2f5b (patch) | |
tree | 9f6d4ed1a0d585f106ddfd84288ed6981ce7c9a3 /unittests | |
parent | 140097faf0eddcc7819a3353eb7c21b82a7df1e0 (diff) | |
download | meson-98a41ec24e77d7670ea83fd986853d0fe7cb2f5b.zip meson-98a41ec24e77d7670ea83fd986853d0fe7cb2f5b.tar.gz meson-98a41ec24e77d7670ea83fd986853d0fe7cb2f5b.tar.bz2 |
manually clean up some python 3.6 era code
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/allplatformstests.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py index 8b3181e..e6c7922 100644 --- a/unittests/allplatformstests.py +++ b/unittests/allplatformstests.py @@ -3186,11 +3186,6 @@ class AllPlatformTests(BasePlatformTests): expected_lines = expected.split('\n')[1:] out_start = out.find(expected_lines[0]) out_lines = out[out_start:].split('\n')[:len(expected_lines)] - if sys.version_info < (3, 7, 0): - # Dictionary order is not stable in Python <3.7, so sort the lines - # while comparing - expected_lines = sorted(expected_lines) - out_lines = sorted(out_lines) for e, o in zip(expected_lines, out_lines): if e.startswith(' external dep'): self.assertRegex(o, r'^ external dep : (YES [0-9.]*|NO)$') |