MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / test_str_small

Method test_str_small

tests_python/test_safe_repr.py:103–107  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101
102class TestStrings(SafeReprTestBase):
103 def test_str_small(self):
104 value = "A" * 5
105
106 self.assert_unchanged(value, "'AAAAA'")
107 self.assert_unchanged([value], "['AAAAA']")
108
109 def test_str_large(self):
110 value = "A" * (SafeRepr.maxstring_outer + 10)

Callers

nothing calls this directly

Calls 1

assert_unchangedMethod · 0.80

Tested by

no test coverage detected