diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2020-08-19 08:23:04 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2020-08-22 14:33:35 -0600 |
commit | 8a6bcbcfe8db6cf2fd784631b480d5865077ad98 (patch) | |
tree | cd2412aad2cfdb30f34f3a327e50ec62a45b1876 /numpy/tests | |
parent | 0bd548e287b9e2fd0126f64d8be01a812e3c6a48 (diff) | |
download | numpy-8a6bcbcfe8db6cf2fd784631b480d5865077ad98.tar.gz |
MAINT: Use numpy version for f2py version.
Because f2py is released as part of numpy, the old svn versioning
no longer makes sense and it was decided to use the numpy version
instead.
Diffstat (limited to 'numpy/tests')
-rw-r--r-- | numpy/tests/test_scripts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/tests/test_scripts.py b/numpy/tests/test_scripts.py index a0f2ba70a..e67a82947 100644 --- a/numpy/tests/test_scripts.py +++ b/numpy/tests/test_scripts.py @@ -38,9 +38,9 @@ def find_f2py_commands(): def test_f2py(f2py_cmd): # test that we can run f2py script stdout = subprocess.check_output([f2py_cmd, '-v']) - assert_equal(stdout.strip(), b'2') + assert_equal(stdout.strip(), np.__version__.encode('ascii')) def test_pep338(): stdout = subprocess.check_output([sys.executable, '-mnumpy.f2py', '-v']) - assert_equal(stdout.strip(), b'2') + assert_equal(stdout.strip(), np.__version__.encode('ascii')) |