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

Function test_alpha_beta_rc

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

Source from the content-addressed store, hash-verified

23
24
25def test_alpha_beta_rc():
26 assert_(NumpyVersion('1.8.0rc1') == '1.8.0rc1')
27 for ver in ['1.8.0', '1.8.0rc2']:
28 assert_(NumpyVersion('1.8.0rc1') < ver)
29
30 for ver in ['1.8.0a2', '1.8.0b3', '1.7.2rc4']:
31 assert_(NumpyVersion('1.8.0rc1') > ver)
32
33 assert_(NumpyVersion('1.8.0b1') > '1.8.0a2')
34
35
36def test_dev_version():

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
NumpyVersionClass · 0.90

Tested by

no test coverage detected