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

Method version_match

numpy/distutils/fcompiler/gnu.py:76–80  ·  view source on GitHub ↗
(self, version_string)

Source from the content-addressed store, hash-verified

74 raise ValueError(err + version_string)
75
76 def version_match(self, version_string):
77 v = self.gnu_version_match(version_string)
78 if not v or v[0] != 'g77':
79 return None
80 return v[1]
81
82 possible_executables = ['g77', 'f77']
83 executables = {

Callers 7

test_version_matchMethod · 0.45
test_g77_versionMethod · 0.45
test_not_g77Method · 0.45
test_gfortran_versionMethod · 0.45
test_not_gfortranMethod · 0.45
test_32bit_versionMethod · 0.45
test_64bit_versionMethod · 0.45

Calls 1

gnu_version_matchMethod · 0.95

Tested by 7

test_version_matchMethod · 0.36
test_g77_versionMethod · 0.36
test_not_g77Method · 0.36
test_gfortran_versionMethod · 0.36
test_not_gfortranMethod · 0.36
test_32bit_versionMethod · 0.36
test_64bit_versionMethod · 0.36