Content-Length: 279569 | pFad | https://github.com/go-python/gpython/commit/c61c054c8ca4b7d7ae4d01d16c24ee2196ee428d

8F Make tests past with python3 too · go-python/gpython@c61c054 · GitHub
Skip to content

Commit c61c054

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vm/tests/builtin.py

Lines changed: 2 additions & 2 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/go-python/gpython/commit/c61c054c8ca4b7d7ae4d01d16c24ee2196ee428d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy