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