We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc37aad commit 6b780a4Copy full SHA for 6b780a4
graalpython/com.oracle.graal.python.test/src/tests/test_struct.py
@@ -261,11 +261,11 @@ def test_iter_unpack():
261
assert lh(it) == 0
262
263
264
-# def test_pack_varargs():
265
-# assert struct.Struct(">B").pack(3) == b'\x03'
266
-# raised = False
267
-# try:
268
-# struct.Struct(">B").pack(3, kw=1)
269
-# except TypeError:
270
-# raised = True
271
-# assert raised
+def test_pack_varargs():
+ assert struct.Struct(">B").pack(3) == b'\x03'
+ raised = False
+ try:
+ struct.Struct(">B").pack(3, kw=1)
+ except TypeError:
+ raised = True
+ assert raised
0 commit comments