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

Method test_clear

Lib/idlelib/idle_test/test_configdialog.py:1503–1509  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1501 self.assertEqual(tr.traced, [])
1502
1503 def test_clear(self):
1504 tr = self.tracers
1505 tr.untraced.append(0)
1506 tr.traced.append(1)
1507 tr.clear()
1508 self.assertEqual(tr.untraced, [])
1509 self.assertEqual(tr.traced, [])
1510
1511 def test_add(self):
1512 tr = self.tracers

Callers

nothing calls this directly

Calls 3

appendMethod · 0.45
clearMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected