MCPcopy Index your code
hub / github.com/numpy/numpy / test_creation

Method test_creation

numpy/lib/tests/test__iotools.py:148–152  ·  view source on GitHub ↗

Test creation of a StringConverter

(self)

Source from the content-addressed store, hash-verified

146 "Test StringConverter"
147
148 def test_creation(self):
149 "Test creation of a StringConverter"
150 converter = StringConverter(int, -99999)
151 assert_equal(converter._status, 1)
152 assert_equal(converter.default, -99999)
153
154 def test_upgrade(self):
155 "Tests the upgrade method."

Callers

nothing calls this directly

Calls 2

StringConverterClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected