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 7f4b748 commit 68d1328Copy full SHA for 68d1328
Lib/test/test_unittest/test_loader.py
@@ -335,7 +335,7 @@ def test_loadTestsFromName__unknown_attr_name_on_package(self):
335
loader = unittest.TestLoader()
336
337
suite = loader.loadTestsFromName('unittest.sdasfasfasdf')
338
- expected = "No module named 'unittest.sdasfasfasdf'"
+ expected = "module 'unittest' has no child module 'sdasfasfasdf'"
339
error, test = self.check_deferred_error(loader, suite)
340
self.assertIn(
341
expected, error,
0 commit comments