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

Method test_get_source_ascii

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

Source from the content-addressed store, hash-verified

94 self.assertEqual(inspection.get_encoding(encoding_utf8.foo), "utf-8")
95
96 def test_get_source_ascii(self):
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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected