We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45b4cc7 commit 3544361Copy full SHA for 3544361
2 files changed
tests/basics/memoryerror.py
@@ -1,5 +1,8 @@
1
l = list(range(10000))
2
-hex(1)
+try:
3
+ hex(1)
4
+except NameError:
5
+ print("NameError")
6
try:
7
100000000 * l
8
except MemoryError:
tests/run-tests
@@ -70,6 +70,8 @@ for test_file in tests:
70
rm_f(os.path.basename(test_file + ".exp"))
71
rm_f(os.path.basename(test_file + ".out"))
72
else:
73
+ print('EXP|{}|'.format(output_expected))
74
+ print('OUT|{}|'.format(output_mupy))
75
with open(os.path.basename(test_file + ".exp"), "w") as f:
76
f.write(str(output_expected, "ascii"))
77
with open(os.path.basename(test_file + ".out"), "w") as f:
0 commit comments