MCPcopy Index your code
hub / github.com/python/cpython / test_literal

Method test_literal

Lib/test/test_fstring.py:596–599  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

594 ])
595
596 def test_literal(self):
597 self.assertEqual(f'', '')
598 self.assertEqual(f'a', 'a')
599 self.assertEqual(f' ', ' ')
600
601 def test_unterminated_string(self):
602 self.assertAllRaise(SyntaxError, 'unterminated string',

Callers

nothing calls this directly

Calls 1

assertEqualMethod · 0.95

Tested by

no test coverage detected