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

Method test_g77_version

numpy/distutils/tests/test_fcompiler_gnu.py:32–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30
31class TestG77Versions:
32 def test_g77_version(self):
33 fc = numpy.distutils.fcompiler.new_fcompiler(compiler='gnu')
34 for vs, version in g77_version_strings:
35 v = fc.version_match(vs)
36 assert_(v == version, (vs, v))
37
38 def test_not_g77(self):
39 fc = numpy.distutils.fcompiler.new_fcompiler(compiler='gnu')

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
version_matchMethod · 0.45

Tested by

no test coverage detected