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

Method assert_shortened

tests_python/test_safe_repr.py:45–49  ·  view source on GitHub ↗
(self, value, expected)

Source from the content-addressed store, hash-verified

43 assert safe == actual
44
45 def assert_shortened(self, value, expected):
46 actual = repr(value)
47
48 safe = self.assert_saferepr(value, expected)
49 assert safe != actual
50
51 def assert_saferepr_regex(self, s, r):
52 safe = self.saferepr(s)

Callers 10

test_str_largeMethod · 0.80
test_unicode_largeMethod · 0.80
test_bytes_largeMethod · 0.80
test_large_flatMethod · 0.80
test_large_nestedMethod · 0.80
test_boundaryMethod · 0.80
test_nestedMethod · 0.80

Calls 1

assert_safereprMethod · 0.95

Tested by

no test coverage detected