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

Method test_store_short

Lib/idlelib/idle_test/test_history.py:36–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34 idleConf.GetOption("main", "History", "cyclic", 1, "bool"))
35
36 def test_store_short(self):
37 self.history.store('a')
38 self.assertEqual(self.history.history, [])
39 self.history.store(' a ')
40 self.assertEqual(self.history.history, [])
41
42 def test_store_dup(self):
43 self.history.store(line1)

Callers

nothing calls this directly

Calls 2

storeMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected