diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-08-25 09:29:05 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-08-25 09:29:05 -0400 |
commit | 3455622cd4927639c4cc3ca608190ef8dc7705f4 (patch) | |
tree | 792841b800221ba98a1bd45a473485d825efd0ae /tests/test_process.py | |
parent | ceb65dc5672fc0f14b81c751ca633cb72e7387c2 (diff) | |
download | python-coveragepy-git-3455622cd4927639c4cc3ca608190ef8dc7705f4.tar.gz |
test: btw, pypy no longer includes the current dir in sys.path when running a directory
Diffstat (limited to 'tests/test_process.py')
-rw-r--r-- | tests/test_process.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 70d6b934..cbfc5557 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -702,14 +702,6 @@ class EnvironmentTest(CoverageTest): expected = self.run_command("python with_main") actual = self.run_command("coverage run with_main") - - # PyPy includes the current directory in the path when running a - # directory, while CPython and coverage.py do not. Exclude that from - # the comparison also... - if env.PYPY: - ignored = re.escape(os.getcwd()) - expected = re_lines_text(ignored, expected, match=False) - actual = re_lines_text(ignored, actual, match=False) self.assert_tryexecfile_output(expected, actual) def test_coverage_run_dashm_dir_no_init_is_like_python(self): |