MCPcopy Create free account
hub / github.com/bpython/bpython / test_get_source_utf8

Method test_get_source_utf8

bpython/test/test_inspection.py:99–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97 self.assertEqual(inspect.getsource(encoding_ascii.foo), foo_ascii_only)
98
99 def test_get_source_utf8(self):
100 self.assertEqual(inspect.getsource(encoding_utf8.foo), foo_non_ascii)
101
102 def test_get_source_latin1(self):
103 self.assertEqual(inspect.getsource(encoding_latin1.foo), foo_non_ascii)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected