]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- remove the redundant non-max-row-buffer test from the max_row_buffer
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 14 Jun 2015 20:48:26 +0000 (16:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 14 Jun 2015 20:48:26 +0000 (16:48 -0400)
test as we implemented that as a separate test.

test/engine/test_execute.py

index 5ddf4ad094fb9296828fb2446bbed541742cfe27..fbb1878dc64ed42e2abb00e1d1860c1cd9188aa9 100644 (file)
@@ -1189,18 +1189,6 @@ class AlternateResultProxyTest(fixtures.TablesTest):
                 conn.execute(self.table.insert(), [
                     {'x': i, 'y': "t_%d" % i} for i in range(15, 1200)
                 ])
-                result = conn.execute(self.table.select())
-                checks = {
-                    0: 5, 1: 10, 9: 20,
-                }
-                for idx, row in enumerate(result, 0):
-                    if idx in checks:
-                        eq_(result._bufsize, checks[idx])
-                    le_(
-                        len(result._BufferedRowResultProxy__rowbuffer),
-                        1000
-                    )
-
                 result = conn.execution_options(max_row_buffer=27).execute(
                     self.table.select()
                 )