From 15653d2c8a49b82e509f2e377e677228c602c17a Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sat, 9 Jan 2021 14:24:04 +0000 Subject: [PATCH] TYP: remove ignore in optional_args --- pandas/_testing/_io.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pandas/_testing/_io.py b/pandas/_testing/_io.py index 5f27b016b68a2..bc38d894c3d5b 100644 --- a/pandas/_testing/_io.py +++ b/pandas/_testing/_io.py @@ -82,10 +82,7 @@ def dec(f): is_decorating = not kwargs and len(args) == 1 and callable(args[0]) if is_decorating: f = args[0] - # pandas\_testing.py:2331: error: Incompatible types in assignment - # (expression has type "List[]", variable has type - # "Tuple[Any, ...]") - args = [] # type: ignore[assignment] + args = () return dec(f) else: return dec