MCPcopy Index your code
hub / github.com/ipython/ipython / test_get__all__entries_ok

Method test_get__all__entries_ok

tests/test_completer.py:780–785  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

778 self.assertIn(".x", matches)
779
780 def test_get__all__entries_ok(self):
781 class A:
782 __all__ = ["x", 1]
783
784 words = completer.get__all__entries(A())
785 self.assertEqual(words, ["x"])
786
787 def test_get__all__entries_no__all__ok(self):
788 class A:

Callers

nothing calls this directly

Calls 1

AClass · 0.70

Tested by

no test coverage detected