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

Method assert_unchanged

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

Source from the content-addressed store, hash-verified

37 return safe
38
39 def assert_unchanged(self, value, expected):
40 actual = repr(value)
41
42 safe = self.assert_saferepr(value, expected)
43 assert safe == actual
44
45 def assert_shortened(self, value, expected):
46 actual = repr(value)

Callers 15

test_str_smallMethod · 0.80
test_unicode_smallMethod · 0.80
test_bytes_smallMethod · 0.80
test_boundaryMethod · 0.80
test_nestedMethod · 0.80
test_emptyMethod · 0.80

Calls 1

assert_safereprMethod · 0.95

Tested by

no test coverage detected