summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_abstract_interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/tests/test_abstract_interface.py')
-rw-r--r--numpy/f2py/tests/test_abstract_interface.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/numpy/f2py/tests/test_abstract_interface.py b/numpy/f2py/tests/test_abstract_interface.py
index d6c6da743..936c1f7bc 100644
--- a/numpy/f2py/tests/test_abstract_interface.py
+++ b/numpy/f2py/tests/test_abstract_interface.py
@@ -53,13 +53,13 @@ class TestAbstractInterface(util.F2PyTest):
f_path = tmp_path / "gh18403_mod.f90"
with f_path.open('w') as ff:
ff.write(textwrap.dedent("""\
- module test
- abstract interface
- subroutine foo()
- end subroutine
- end interface
- end module test
- """))
+ module test
+ abstract interface
+ subroutine foo()
+ end subroutine
+ end interface
+ end module test
+ """))
mod = crackfortran.crackfortran([str(f_path)])
assert len(mod) == 1
assert len(mod[0]['body']) == 1