summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_string.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2021-05-26 15:53:36 +0300
committerPearu Peterson <pearu.peterson@gmail.com>2021-05-26 15:53:36 +0300
commit09856eca90f63e73bd1b1feebe764539ea6e0db0 (patch)
treef0018606566d58a65b7cc8e982e1224e0b9c1dea /numpy/f2py/tests/test_string.py
parent6eeab25f62fd52feb3738c836ade2da8fab32fac (diff)
downloadnumpy-09856eca90f63e73bd1b1feebe764539ea6e0db0.tar.gz
Minor fixes
Diffstat (limited to 'numpy/f2py/tests/test_string.py')
-rw-r--r--numpy/f2py/tests/test_string.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/tests/test_string.py b/numpy/f2py/tests/test_string.py
index 2a0945934..1530c58f6 100644
--- a/numpy/f2py/tests/test_string.py
+++ b/numpy/f2py/tests/test_string.py
@@ -27,7 +27,7 @@ class TestString(util.F2PyTest):
class TestDocStringArguments(util.F2PyTest):
suffix = '.f'
- code = textwrap.dedent("""
+ code = """
C FILE: STRING.F
SUBROUTINE FOO(A,B,C,D)
CHARACTER*5 A, B
@@ -49,7 +49,7 @@ Cf2py intent(inout) b,d
PRINT*, "D=",D
END
C END OF FILE STRING.F
- """)
+ """
def test_example(self):
a = np.array(b'123\0\0')