From: Bryan Forbes Date: Thu, 8 Apr 2021 13:52:05 +0000 (-0500) Subject: Remove positional-only syntax from test file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87623cbde4d41d28b489f5be6ad102ce8aa586c9;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Remove positional-only syntax from test file --- 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)