From 87623cbde4d41d28b489f5be6ad102ce8aa586c9 Mon Sep 17 00:00:00 2001 From: Bryan Forbes Date: Thu, 8 Apr 2021 08:52:05 -0500 Subject: [PATCH] Remove positional-only syntax from test file --- test/ext/mypy/files/type_decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ext/mypy/files/type_decorator.py b/test/ext/mypy/files/type_decorator.py index f4ab4fd60c..83f603c63e 100644 --- a/test/ext/mypy/files/type_decorator.py +++ b/test/ext/mypy/files/type_decorator.py @@ -27,7 +27,7 @@ class IntToStr(TypeDecorator[int]): ) -> Optional[int]: return int(value) if value is not None else value - def copy(self, /, **kwargs: Any) -> "IntToStr": + def copy(self, **kwargs: Any) -> "IntToStr": return IntToStr(self.impl.length) -- 2.47.2