Skip to content

Commit d0f7247

Browse files
committed
specify varnames in test_codeobject
Makes the test compatible with CPython 3.7.3 which would otherwise raise an exception: ValueError("code: varnames is too small")
1 parent 200d23a commit d0f7247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.test/src/tests/cpyext/test_codeobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def compile_module(self, name):
6969
1, 2,
7070
3, 4, 0,
7171
b"", tuple(), tuple(),
72-
tuple(), tuple(), tuple(),
72+
("a", "b", "c"), tuple(), tuple(),
7373
"filename", "name", 1,
7474
b"",
7575
),

0 commit comments

Comments
 (0)