From: Mike Bayer Date: Tue, 2 Aug 2022 15:45:09 +0000 (-0400) Subject: fix mypy test X-Git-Tag: rel_1_4_40~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd9be7039496a9ad7f8a8e812644110383e46ec2;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix mypy test this change seems to be from 2.0 in 4fe222d9412df30fc15ace3d7a however does not apply to 1.4. Change-Id: Ie736afaf18abf048f4bf5f5266e76aefa98e4e80 --- diff --git a/test/ext/mypy/files/typing_err3.py b/test/ext/mypy/files/typing_err3.py index 3fd1f86ff6..a81ea067c7 100644 --- a/test/ext/mypy/files/typing_err3.py +++ b/test/ext/mypy/files/typing_err3.py @@ -22,6 +22,8 @@ class User(Base): id = Column(Integer, primary_key=True) + # note this goes away in 2.0 for the moment + # EXPECTED_MYPY: Unexpected keyword argument "wrong_arg" for "RelationshipProperty" # noqa addresses: Mapped[List["Address"]] = relationship( "Address", wrong_arg="imwrong" )