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

Method test_load_nothing

Lib/idlelib/idle_test/test_config.py:82–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 self.assertEqual(get_list('not exist'), [])
81
82 def test_load_nothing(self):
83 parser = config.IdleConfParser('')
84 parser.Load()
85 self.assertEqual(parser.sections(), [])
86
87 def test_load_file(self):
88 # Borrow test/configdata/cfgparser.1 from test_configparser.

Callers

nothing calls this directly

Calls 3

LoadMethod · 0.95
assertEqualMethod · 0.45
sectionsMethod · 0.45

Tested by

no test coverage detected