diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2020-11-28 13:22:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 13:22:14 +0000 |
commit | c2b9d20cd6a8d28785972bd883f11d1a7fc3a8fa (patch) | |
tree | 69f84dd81ace09b4d995a1c90bd3679f95ac32a3 /numpy/tests | |
parent | f4aadabcc0e1968f3b309642af52ef11ae77ca01 (diff) | |
parent | 8a6bcbcfe8db6cf2fd784631b480d5865077ad98 (diff) | |
download | numpy-c2b9d20cd6a8d28785972bd883f11d1a7fc3a8fa.tar.gz |
Merge pull request #17122 from charris/cleanup-f2py-versioning
MAINT: Use numpy version for f2py version.
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')) |