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

Function test_dev_version

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

Source from the content-addressed store, hash-verified

34
35
36def test_dev_version():
37 assert_(NumpyVersion('1.9.0.dev-Unknown') < '1.9.0')
38 for ver in ['1.9.0', '1.9.0a1', '1.9.0b2', '1.9.0b2.dev-ffffffff']:
39 assert_(NumpyVersion('1.9.0.dev-f16acvda') < ver)
40
41 assert_(NumpyVersion('1.9.0.dev-f16acvda') == '1.9.0.dev-11111111')
42
43
44def test_dev_a_b_rc_mixed():

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
NumpyVersionClass · 0.90

Tested by

no test coverage detected