diff options
Diffstat (limited to 'numpy/f2py/tests/test_common.py')
-rw-r--r-- | numpy/f2py/tests/test_common.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/f2py/tests/test_common.py b/numpy/f2py/tests/test_common.py index 62587e7a9..056ae5ee8 100644 --- a/numpy/f2py/tests/test_common.py +++ b/numpy/f2py/tests/test_common.py @@ -7,16 +7,16 @@ from . import util from numpy.testing import assert_array_equal + class TestCommonBlock(util.F2PyTest): - sources = [util.getpath('tests', 'src', 'common', 'block.f')] + sources = [util.getpath("tests", "src", "common", "block.f")] - @pytest.mark.skipif(sys.platform=='win32', - reason='Fails with MinGW64 Gfortran (Issue #9673)') + @pytest.mark.skipif(sys.platform == "win32", + reason="Fails with MinGW64 Gfortran (Issue #9673)") def test_common_block(self): self.module.initcb() assert_array_equal(self.module.block.long_bn, np.array(1.0, dtype=np.float64)) assert_array_equal(self.module.block.string_bn, - np.array('2', dtype='|S1')) - assert_array_equal(self.module.block.ok, - np.array(3, dtype=np.int32)) + np.array("2", dtype="|S1")) + assert_array_equal(self.module.block.ok, np.array(3, dtype=np.int32)) |