From: Mike Bayer Date: Sun, 14 Jun 2015 20:48:26 +0000 (-0400) Subject: - remove the redundant non-max-row-buffer test from the max_row_buffer X-Git-Tag: rel_1_0_6~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de906a2125c107102f67d181a338d5689b365c51;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - remove the redundant non-max-row-buffer test from the max_row_buffer test as we implemented that as a separate test. --- diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py index 5ddf4ad094..fbb1878dc6 100644 --- a/test/engine/test_execute.py +++ b/test/engine/test_execute.py @@ -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() )