summaryrefslogtreecommitdiffstats
path: root/test/Java/JAVAH.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Java/JAVAH.py')
-rw-r--r--test/Java/JAVAH.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Java/JAVAH.py b/test/Java/JAVAH.py
index 589a822..f07ebb9 100644
--- a/test/Java/JAVAH.py
+++ b/test/Java/JAVAH.py
@@ -70,9 +70,9 @@ test1.java
line 3
""")
-test.run(arguments = '.', stderr = None)
+test.run(arguments='.', stderr=None)
-test.must_match('test1.h', "test1.java\nline 3\n")
+test.must_match('test1.h', "test1.java\nline 3\n", mode='r')
if os.path.normcase('.java') == os.path.normcase('.JAVA'):
@@ -88,9 +88,9 @@ test2.JAVA
line 3
""")
- test.run(arguments = '.', stderr = None)
+ test.run(arguments='.', stderr=None)
- test.must_match('test2.h', "test2.JAVA\nline 3\n")
+ test.must_match('test2.h', "test2.JAVA\nline 3\n", mode='r')
where_javac, java_version = test.java_where_javac()