Skip to content

Commit 3455622

Browse files
committed
test: btw, pypy no longer includes the current dir in sys.path when running a directory
1 parent ceb65dc commit 3455622

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/test_process.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -702,14 +702,6 @@ def test_coverage_run_dir_is_like_python_dir(self):
702702

703703
expected = self.run_command("python with_main")
704704
actual = self.run_command("coverage run with_main")
705-
706-
# PyPy includes the current directory in the path when running a
707-
# directory, while CPython and coverage.py do not. Exclude that from
708-
# the comparison also...
709-
if env.PYPY:
710-
ignored = re.escape(os.getcwd())
711-
expected = re_lines_text(ignored, expected, match=False)
712-
actual = re_lines_text(ignored, actual, match=False)
713705
self.assert_tryexecfile_output(expected, actual)
714706

715707
def test_coverage_run_dashm_dir_no_init_is_like_python(self):

0 commit comments

Comments
 (0)