MCPcopy Index your code
hub / github.com/python/cpython / test_roundtrip_spaces

Method test_roundtrip_spaces

Lib/test/test_textwrap.py:989–992  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

987 self.assertEqual(indent(text, ' ', predicate), text)
988
989 def test_roundtrip_spaces(self):
990 # A whitespace prefix should roundtrip with dedent
991 for text in self.ROUNDTRIP_CASES:
992 self.assertEqual(dedent(indent(text, ' ')), text)
993
994 def test_roundtrip_tabs(self):
995 # A whitespace prefix should roundtrip with dedent

Callers

nothing calls this directly

Calls 3

dedentFunction · 0.90
indentFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected