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

Class TestInt

tests/test_traitlets.py:1337–1357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1335
1336
1337class TestInt(TraitTestBase):
1338 obj = IntTrait()
1339 _default_value = 99
1340 _good_values = [10, -10]
1341 _bad_values = [
1342 "ten",
1343 [10],
1344 {"ten": 10},
1345 (10,),
1346 None,
1347 1j,
1348 10.1,
1349 -10.1,
1350 "10L",
1351 "-10L",
1352 "10.1",
1353 "-10.1",
1354 "10",
1355 "-10",
1356 -200,
1357 ]
1358
1359
1360class CIntTrait(HasTraits):

Callers

nothing calls this directly

Calls 1

IntTraitClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…