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 60e3aee commit 2ba8a9aCopy full SHA for 2ba8a9a
graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/builtin/BaseExceptionTest.java
@@ -56,7 +56,7 @@ public void testUnhashableType() {
56
}
57
58
@Test
59
- public void testUnsupportedKey() {
+ public void testClassAsKey() {
60
String source = "try:\n" +
61
" class MyClass:\n" +
62
" def __hash__(self):\n" +
@@ -66,7 +66,7 @@ public void testUnsupportedKey() {
66
" sysdict[MyClass()] = lambda x: x\n" +
67
"except KeyError as e:\n" +
68
" print(str(e))\n";
69
- assertPrints("unsupported key: MyClass\n", source);
+ assertPrints("", source);
70
71
72
0 commit comments