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

Method test_roundtrip_tabs

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

Source from the content-addressed store, hash-verified

992 self.assertEqual(dedent(indent(text, ' ')), text)
993
994 def test_roundtrip_tabs(self):
995 # A whitespace prefix should roundtrip with dedent
996 for text in self.ROUNDTRIP_CASES:
997 self.assertEqual(dedent(indent(text, '\t\t')), text)
998
999 def test_roundtrip_mixed(self):
1000 # 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