test(UP003): let type reference be the builtin (#2664)
This commit is contained in:
@@ -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)(" ")
|
||||
|
||||
Reference in New Issue
Block a user