MCPcopy Create free account
hub / github.com/ipython/traitlets / test_v2raise

Method test_v2raise

tests/config/test_loader.py:172–180  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

170 )
171
172 def test_v2raise(self):
173 fd, fname = mkstemp(".json", prefix="μnïcø∂e")
174 f = os.fdopen(fd, "w")
175 f.write(json2file)
176 f.close()
177 # Unlink the file
178 cl = JSONFileConfigLoader(fname, log=log)
179 with self.assertRaises(ValueError):
180 cl.load_config()
181
182
183def _parse_int_or_str(v):

Callers

nothing calls this directly

Calls 2

load_configMethod · 0.95

Tested by

no test coverage detected