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

Method test_get_source_latin1

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

Source from the content-addressed store, hash-verified

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)
104
105 def test_get_source_file(self):
106 path = os.path.join(os.path.dirname(__file__), "fodder")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected