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

Function test_dev0_version

numpy/lib/tests/test__version.py:49–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48
49def test_dev0_version():
50 assert_(NumpyVersion('1.9.0.dev0+Unknown') < '1.9.0')
51 for ver in ['1.9.0', '1.9.0a1', '1.9.0b2', '1.9.0b2.dev0+ffffffff']:
52 assert_(NumpyVersion('1.9.0.dev0+f16acvda') < ver)
53
54 assert_(NumpyVersion('1.9.0.dev0+f16acvda') == '1.9.0.dev0+11111111')
55
56
57def test_dev0_a_b_rc_mixed():

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
NumpyVersionClass · 0.90

Tested by

no test coverage detected