From 124461bddfcd7c182a2ebbd54313a137c445ca7e Mon Sep 17 00:00:00 2001 From: Florian Best Date: Wed, 8 Feb 2023 18:44:37 +0100 Subject: [PATCH] test(UP003): let type reference be the builtin (#2664) --- crates/ruff/resources/test/fixtures/pyupgrade/UP003.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/ruff/resources/test/fixtures/pyupgrade/UP003.py b/crates/ruff/resources/test/fixtures/pyupgrade/UP003.py index 00562efdd7..d8e88b96fd 100644 --- a/crates/ruff/resources/test/fixtures/pyupgrade/UP003.py +++ b/crates/ruff/resources/test/fixtures/pyupgrade/UP003.py @@ -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)(" ")