From: Marat Sharafutdinov Date: Wed, 18 Mar 2020 21:21:16 +0000 (+0300) Subject: Little fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=874058458ccb6d17e1ce725835e20e0855085a18;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Little fixes --- diff --git a/test/dialect/postgresql/test_reflection.py b/test/dialect/postgresql/test_reflection.py index 9b0ffdaa61..322d28ec49 100644 --- a/test/dialect/postgresql/test_reflection.py +++ b/test/dialect/postgresql/test_reflection.py @@ -1077,7 +1077,7 @@ class ReflectionTest(fixtures.TestBase): @testing.provide_metadata def test_index_reflection_with_access_method(self): - """reflect indexes with storage options set""" + """reflect indexes with access method set""" metadata = self.metadata diff --git a/test/orm/test_transaction.py b/test/orm/test_transaction.py index 676a37e8de..3b948aa3c0 100644 --- a/test/orm/test_transaction.py +++ b/test/orm/test_transaction.py @@ -474,8 +474,8 @@ class SessionTransactionTest(fixtures.RemovesEvents, FixtureTest): x = [1] - @event.listens_for(sess, "after_commit") # noqa - def add_another_user(session): + @event.listens_for(sess, "after_commit") + def add_another_user(session): # noqa x[0] += 1 sess.add(to_flush.pop())