Skip to content

Commit 3544361

Browse files
committed
travis: More tests debugging.
1 parent 45b4cc7 commit 3544361

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

tests/basics/memoryerror.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
l = list(range(10000))
2-
hex(1)
2+
try:
3+
hex(1)
4+
except NameError:
5+
print("NameError")
36
try:
47
100000000 * l
58
except MemoryError:

tests/run-tests

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ for test_file in tests:
7070
rm_f(os.path.basename(test_file + ".exp"))
7171
rm_f(os.path.basename(test_file + ".out"))
7272
else:
73+
print('EXP|{}|'.format(output_expected))
74+
print('OUT|{}|'.format(output_mupy))
7375
with open(os.path.basename(test_file + ".exp"), "w") as f:
7476
f.write(str(output_expected, "ascii"))
7577
with open(os.path.basename(test_file + ".out"), "w") as f:

0 commit comments

Comments
 (0)