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

Class Str

Lib/test/test_str.py:1624–1626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1622 # IntEnum uses the value and not the name for %s etc.
1623 IDES = 15
1624 class Str(enum.StrEnum):
1625 # StrEnum uses the value and not the name for %s etc.
1626 ABC = 'abc'
1627 # Testing Unicode formatting strings...
1628 self.assertEqual("%s, %s" % (Str.ABC, Str.ABC),
1629 'abc, abc')

Callers 3

scanstringFunction · 0.50
handle_encode_errorMethod · 0.50
fromMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected