We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f5f68 commit b36a16aCopy full SHA for b36a16a
1 file changed
Lib/test/test_site.py
@@ -162,7 +162,6 @@ def test_addpackage_import_bad_exec(self):
162
pth_dir, pth_fn = self.make_pth("randompath\nimport nosuchmodule\n")
163
with captured_stderr() as err_out:
164
site.addpackage(pth_dir, pth_fn, set())
165
- self.assertRegex(err_out.getvalue(), "line 2")
166
self.assertRegex(err_out.getvalue(),
167
re.escape(os.path.join(pth_dir, pth_fn)))
168
# XXX: ditto previous XXX comment.
0 commit comments