From: Mike Bayer Date: Sat, 2 Feb 2019 02:34:53 +0000 (-0500) Subject: repair F632 issue X-Git-Tag: rel_1_3_0b3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ae8a54ed381735a88141b8ec5326b21c36e793b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git repair F632 issue in b8f9517cddf41dbb47ae4ad120141c7ab1a29ac5 we disabled this new error coming up, but it's just this one line in a test that is in fact wrong. Change-Id: I4e3612596e9735c7db066832d13ccb454c93808f --- diff --git a/setup.cfg b/setup.cfg index 24a805f26d..6d75087b85 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,7 @@ ignore = A003, D, E203,E305,E711,E712,E721,E722,E741, - F821,F841,F632 + F821,F841 N801,N802,N806, RST304,RST303,RST299,RST399, W503,W504 diff --git a/test/ext/test_indexable.py b/test/ext/test_indexable.py index ed7da3ad0b..2ffd273bc3 100644 --- a/test/ext/test_indexable.py +++ b/test/ext/test_indexable.py @@ -164,7 +164,7 @@ class IndexPropertyTest(fixtures.TestBase): assert j.default is None assert j.none is None j.none = 10 - assert j.default is 10 + assert j.default == 10 assert j.none == 10