Skip to content

Commit f5f78a9

Browse files
committed
[GR-37734] Tck: python None is also an object.
PullRequest: graalpython/2206
2 parents e6729d8 + 5caf23f commit f5f78a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python.tck/src/com/oracle/graal/python/tck/PythonProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -89,7 +89,7 @@ public class PythonProvider implements LanguageProvider {
8989
private static final TypeDescriptor BOOL = BOOLEAN;
9090
private static final TypeDescriptor FLOAT = NUMBER;
9191
private static final TypeDescriptor COMPLEX = intersection(OBJECT);
92-
private static final TypeDescriptor NONE = NULL;
92+
private static final TypeDescriptor NONE = intersection(NULL, OBJECT);
9393
private static final TypeDescriptor STR = intersection(OBJECT, STRING, ITERABLE, array(STRING));
9494
private static final TypeDescriptor BYTES = intersection(OBJECT, ITERABLE, array(INT));
9595
private static final TypeDescriptor BYTEARRAY = intersection(OBJECT, ITERABLE, array(INT));

0 commit comments

Comments
 (0)