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 2c34fba commit 595b95cCopy full SHA for 595b95c
1 file changed
Lib/test/test_pydoc/test_pydoc.py
@@ -523,11 +523,9 @@ def test_dunder_main(self):
523
'''"__name__ == '__main__'"'''.encode('utf-8'))
524
525
def test_dunder_not_here(self):
526
- missing_module = "__dict__"
527
- result = str(run_pydoc_fail(missing_module), 'ascii')
528
- expected = missing_pattern(missing_module, dunder=True)
529
- self.assertEqual(expected, result,
530
- "documentation for missing module found")
+ result = str(run_pydoc_fail("__dict__"), 'ascii')
+ expected = missing_pattern("__dict__", dunder=True)
+ self.assertEqual(expected, result)
531
532
@requires_docstrings
533
def test_not_ascii(self):
0 commit comments