summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelissa Weber Mendonça <melissawm@gmail.com>2021-11-28 15:52:10 -0300
committerGitHub <noreply@github.com>2021-11-28 15:52:10 -0300
commit72e88b0b4cbcbebb354118d6819053e8b5f847b8 (patch)
tree71ac64331acebe7873a8bdae1ca5d54e11f924ba
parentc6d2aae8a92371bc9f7ddda990176fb014adb0d7 (diff)
parent6af83ae81d4ad15f178d9f6d3256bd4535613f6b (diff)
downloadnumpy-72e88b0b4cbcbebb354118d6819053e8b5f847b8.tar.gz
Merge pull request #20478 from HaoZeke/tsttypo
TST,MAINT: F2PY test typo
-rw-r--r--numpy/f2py/tests/test_string.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/numpy/f2py/tests/test_string.py b/numpy/f2py/tests/test_string.py
index 7b27f8786..3a945ff8b 100644
--- a/numpy/f2py/tests/test_string.py
+++ b/numpy/f2py/tests/test_string.py
@@ -34,19 +34,10 @@ C FILE: STRING.F
CHARACTER*(*) C,D
Cf2py intent(in) a,c
Cf2py intent(inout) b,d
- PRINT*, "A=",A
- PRINT*, "B=",B
- PRINT*, "C=",C
- PRINT*, "D=",D
- PRINT*, "CHANGE A,B,C,D"
A(1:1) = 'A'
B(1:1) = 'B'
C(1:1) = 'C'
D(1:1) = 'D'
- PRINT*, "A=",A
- PRINT*, "B=",B
- PRINT*, "C=",C
- PRINT*, "D=",D
END
C END OF FILE STRING.F
"""
@@ -60,7 +51,7 @@ C END OF FILE STRING.F
self.module.foo(a, b, c, d)
assert a.tobytes() == b'123\0\0'
- assert b.tobytes() == b'B23\0\0', (b.tobytes(),)
+ assert b.tobytes() == b'B23\0\0'
assert c.tobytes() == b'123'
assert d.tobytes() == b'D23'