Skip to content

Commit 94cfb15

Browse files
committed
Fix test with PyPy 3
1 parent b214afa commit 94cfb15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/test/test_interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def gfunc():
6767

6868
i.runsource('gfunc()')
6969

70-
if pypy:
70+
if pypy and not py3:
7171
global_not_found = "global name 'gfunc' is not defined"
7272
else:
7373
global_not_found = "name 'gfunc' is not defined"

0 commit comments

Comments
 (0)