MCPcopy Create free account
hub / github.com/numpy/numpy / test_creation

Method test_creation

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

Test creation of a StringConverter

(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

StringConverterClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected