MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_literal

Method test_literal

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

assertEqualMethod · 0.95

Tested by

no test coverage detected