From c8dfb3540adbeaab524f2c1258c58d28c63ec3f9 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 18 Mar 2010 16:07:48 -0400 Subject: - normalize sybase version numbers - sybase has 255 identifier length on 15, 30 earlier --- test/sql/test_labels.py | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'test/sql/test_labels.py') diff --git a/test/sql/test_labels.py b/test/sql/test_labels.py index bcac7c01d..f67ba9855 100644 --- a/test/sql/test_labels.py +++ b/test/sql/test_labels.py @@ -83,15 +83,18 @@ class LongLabelsTest(TestBase, AssertsCompiledSQL): (2, "data2"), ], repr(result) - r = s.limit(2).offset(1).execute() - result = [] - for row in r: - result.append((row[table1.c.this_is_the_primarykey_column], row[table1.c.this_is_the_data_column])) - assert result == [ - (2, "data2"), - (3, "data3"), - ], repr(result) - + @testing.requires.offset + def go(): + r = s.limit(2).offset(1).execute() + result = [] + for row in r: + result.append((row[table1.c.this_is_the_primarykey_column], row[table1.c.this_is_the_data_column])) + assert result == [ + (2, "data2"), + (3, "data3"), + ], repr(result) + go() + def test_table_alias_names(self): if testing.against('oracle'): self.assert_compile( -- cgit v1.2.1