Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def foo():
)
])
def test_not_python(self, text: str) -> None:
msg = r"Couldn't parse '<code>' as Python source: '.*' at line \d+"
msg = r"Couldn't parse '<code>' as Python source: ['\"].*['\"] at line \d+"
with pytest.raises(NotPython, match=msg):
_ = self.parse_text(text)

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ install_command = python -m pip install -U {opts} {packages}

passenv = *
setenv =
pypy3{,9,10}: COVERAGE_TEST_CORES=pytrace
pypy3{,9,10,11}: COVERAGE_TEST_CORES=pytrace
# For some tests, we need .pyc files written in the current directory,
# so override any local setting.
PYTHONPYCACHEPREFIX=
Expand Down