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 a5ab825 commit 178d230Copy full SHA for 178d230
graalpython/com.oracle.graal.python.test/src/tests/test_tuple.py
@@ -1,4 +1,4 @@
1
-# Copyright (c) 2018, Oracle and/or its affiliates.
+# Copyright (c) 2018, 2019, Oracle and/or its affiliates.
2
# Copyright (C) 1996-2017 Python Software Foundation
3
#
4
# Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
@@ -219,6 +219,10 @@ def __index__(self):
219
return 1.0;
220
221
raiseTypeError(t, IndexF())
222
+
223
+ t = (NotImplemented,)
224
+ self.assertEqual(t[0], NotImplemented)
225
226
227
# Tests for Truffle specializations
228
def test_lying_tuple(self):
0 commit comments