Skip to content

Commit b6b138b

Browse files
committed
Fix linting on tests
1 parent b5eadf7 commit b6b138b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Lib/test/test_pyrepl/test_pyrepl.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,17 +1771,13 @@ def test_colorize_import_completions(self) -> None:
17711771
def test_find_attributes_uses_all(self):
17721772
"""Test that _find_attributes respects __all__ when available."""
17731773
completer = ModuleCompleter()
1774-
17751774
# json module has __all__ defined
17761775
attrs, module, _ = completer._find_attributes('json', '')
1777-
17781776
# Should match __all__ contents, not dir() which includes methods
17791777
expected = sorted(json.__all__)
17801778
self.assertEqual(sorted(attrs), expected)
1781-
17821779
# Should NOT contain __all__
17831780
self.assertNotIn('__all__', attrs)
1784-
17851781
# Verify we got the actual module object
17861782
self.assertIs(module, sys.modules.get('json'))
17871783

0 commit comments

Comments
 (0)