diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-11 19:32:32 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-11 19:32:32 -0400 |
commit | 01cbb8751f98e5a7de79699444cbc03647691616 (patch) | |
tree | e9166b5deede0ac25b3e3c1c6705a3510f0c40db /tests/test_process.py | |
parent | 06cb51b39620e2140f915393f0f41b281594e05b (diff) | |
download | python-coveragepy-git-01cbb8751f98e5a7de79699444cbc03647691616.tar.gz |
fix: Python 3.8.10 changed how __file__ is reported when running directories
Diffstat (limited to 'tests/test_process.py')
-rw-r--r-- | tests/test_process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 18774ef3..a912debb 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -849,7 +849,7 @@ class EnvironmentTest(CoverageTest): expected = re_lines(expected, r'\s+"argv0":', match=False) actual = re_lines(actual, r'\s+"argv0":', match=False) - assert expected == actual + assert actual == expected def test_coverage_run_is_like_python(self): with open(TRY_EXECFILE) as f: |