From 3fac5c5442378f01e79208bae079f09ed1b6065f Mon Sep 17 00:00:00 2001 From: Brent Westbrook Date: Tue, 26 Nov 2024 11:50:12 -0500 Subject: [PATCH] Revert "add test case from #13824" This reverts commit 9aa49139392f2db134adc9cfe15852f55c30b38c. --- crates/ruff_linter/src/rules/pyflakes/mod.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/crates/ruff_linter/src/rules/pyflakes/mod.rs b/crates/ruff_linter/src/rules/pyflakes/mod.rs index e7de2c43a7b97..7fb0f32673a8d 100644 --- a/crates/ruff_linter/src/rules/pyflakes/mod.rs +++ b/crates/ruff_linter/src/rules/pyflakes/mod.rs @@ -4223,22 +4223,4 @@ lambda: fu &[], ); } - - #[test] - fn no_type_check_function() { - flakes( - r#" - from typing import no_type_check - - @no_type_check - def f821(arg: "A") -> "R": - pass - - @no_type_check - def f722(arg: "this isn't python") -> "this isn't python either": - pass - "#, - &[], - ); - } }