]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
repair F632 issue
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Feb 2019 02:34:53 +0000 (21:34 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Feb 2019 02:34:53 +0000 (21:34 -0500)
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

setup.cfg
test/ext/test_indexable.py

index 24a805f26d75fbb010bf1c584576d6f398a7f9e1..6d75087b8589902eab72034689e7d97365bf9623 100644 (file)
--- 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
index ed7da3ad0bb55f8516ec169f8ab18e492d90ae37..2ffd273bc32da4e452635cbf71522b5bd4219dd0 100644 (file)
@@ -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