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

Method test_expandtabs_optimization

Lib/test/test_str.py:2493–2495  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2491
2492 @support.cpython_only
2493 def test_expandtabs_optimization(self):
2494 s = 'abc'
2495 self.assertIs(s.expandtabs(), s)
2496
2497 def test_raiseMemError(self):
2498 asciifields = "nnb"

Callers

nothing calls this directly

Calls 2

assertIsMethod · 0.45
expandtabsMethod · 0.45

Tested by

no test coverage detected