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

Method test_issue127903

Lib/test/test_str.py:1931–1935  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1929 (b'\xF4'+cb+b'\xBF\xBF').decode, 'utf-8')
1930
1931 def test_issue127903(self):
1932 # gh-127903: ``_copy_characters`` crashes on DEBUG builds when
1933 # there is nothing to copy.
1934 d = datetime.datetime(2013, 11, 10, 14, 20, 59)
1935 self.assertEqual(d.strftime('%z'), '')
1936
1937 def test_issue8271(self):
1938 # Issue #8271: during the decoding of an invalid UTF-8 byte sequence,

Callers

nothing calls this directly

Calls 3

datetimeMethod · 0.80
assertEqualMethod · 0.45
strftimeMethod · 0.45

Tested by

no test coverage detected