test(UP003): let type reference be the builtin (#2664)

This commit is contained in:
Florian Best 2023-02-08 18:44:37 +01:00 committed by GitHub
parent 7482a4a5b8
commit 124461bddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -4,10 +4,12 @@ type(0)
type(0.0)
type(0j)
# OK
type(arg)(" ")
# OK
y = x.dtype.type(0.0)
# OK
type = lambda *args, **kwargs: None
type("")
type(arg)(" ")