MCPcopy Index your code
hub / github.com/bpython/bpython / assertIndented

Method assertIndented

bpython/test/test_preprocess.py:74–78  ·  view source on GitHub ↗
(self, obj_or_name)

Source from the content-addressed store, hash-verified

72 self.assertCompiles(xformed)
73
74 def assertIndented(self, obj_or_name):
75 if isinstance(obj_or_name, str):
76 self.assertLinesIndented(obj_or_name)
77 else:
78 self.assertDefinitionIndented(obj_or_name)
79
80 def test_empty_line_between_methods(self):
81 self.assertIndented(original.BlankLineBetweenMethods)

Calls 2

assertLinesIndentedMethod · 0.95

Tested by

no test coverage detected