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

Method test_bytes_small

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

Source from the content-addressed store, hash-verified

157
158 @pytest.mark.skipif(sys.version_info < (3, 0), reason="Py3 specific test")
159 def test_bytes_small(self):
160 value = b"A" * 5
161
162 self.assert_unchanged(value, "b'AAAAA'")
163 self.assert_unchanged([value], "[b'AAAAA']")
164
165 @pytest.mark.skipif(sys.version_info < (3, 0), reason="Py3 specific test")
166 def test_bytes_large(self):

Callers

nothing calls this directly

Calls 1

assert_unchangedMethod · 0.80

Tested by

no test coverage detected