Skip to content

Commit c61c054

Browse files
committed
Make tests past with python3 too
1 parent b9545a4 commit c61c054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vm/tests/builtin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
assert False, "TypeError not raised"
3131

3232
try:
33-
eval("1", ())
33+
eval("1", object())
3434
except TypeError as e:
3535
pass
3636
else:
3737
assert False, "TypeError not raised"
3838

3939
try:
40-
eval("1", {}, ())
40+
eval("1", {}, object())
4141
except TypeError as e:
4242
pass
4343
else:

0 commit comments

Comments
 (0)