Skip to content

Commit 902822c

Browse files
committed
Re-enable primitive pointer compare tests.
1 parent ee923bf commit 902822c

File tree

1 file changed

+3
-3
lines changed
  • graalpython/com.oracle.graal.python.test/src/tests/cpyext

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ def compile_module(self, name):
180180
lambda: (
181181
(True, lambda arg0, *args: arg0),
182182
(False, lambda arg0, *args: arg0),
183-
# Fix this! GR-18423
184-
# (10, lambda arg0, *args: arg0),
185-
# (10.0, lambda arg0, *args: arg0),
183+
(10, lambda arg0, *args: arg0),
184+
(10.0, lambda arg0, *args: arg0),
185+
(float('nan'), lambda arg0, *args: arg0),
186186
("ten", lambda arg0, *args: arg0),
187187
),
188188
code="""PyObject* PointerEquality_Primitive(PyObject* pyVal, PyObject* fun) {

0 commit comments

Comments
 (0)