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

Function test_main_versions

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

Source from the content-addressed store, hash-verified

6
7
8def test_main_versions():
9 assert_(NumpyVersion('1.8.0') == '1.8.0')
10 for ver in ['1.9.0', '2.0.0', '1.8.1', '10.0.1']:
11 assert_(NumpyVersion('1.8.0') < ver)
12
13 for ver in ['1.7.0', '1.7.1', '0.9.9']:
14 assert_(NumpyVersion('1.8.0') > ver)
15
16
17def test_version_1_point_10():

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
NumpyVersionClass · 0.90

Tested by

no test coverage detected