|
25 | 25 | import pytest |
26 | 26 | import pytz |
27 | 27 | import sqlalchemy |
28 | | -from sqlalchemy import and_ |
29 | 28 | import sqlalchemy.sql.sqltypes |
| 29 | +import sqlalchemy.testing.suite.test_types |
| 30 | +from sqlalchemy import and_ |
30 | 31 | from sqlalchemy.testing import config, util |
31 | 32 | from sqlalchemy.testing.assertions import eq_ |
| 33 | +from sqlalchemy.testing.suite import * # noqa |
32 | 34 | from sqlalchemy.testing.suite import ( |
| 35 | + Column, |
| 36 | + DistinctOnTest, |
| 37 | + HasIndexTest, |
| 38 | + IdentityAutoincrementTest, |
33 | 39 | Integer, |
34 | 40 | LongNameBlowoutTest, |
35 | 41 | PostCompileParamsTest, |
36 | 42 | QuotedNameArgumentTest, |
37 | | -) |
38 | | -from sqlalchemy.testing.suite import ( |
| 43 | + String, |
| 44 | + Table, |
39 | 45 | WindowFunctionTest, |
40 | 46 | bindparam, |
41 | 47 | exists, |
42 | 48 | select, |
43 | 49 | testing, |
44 | 50 | ) |
45 | | -from sqlalchemy.testing.suite import * # noqa |
46 | 51 | from sqlalchemy.testing.suite import CTETest as _CTETest |
47 | | -from sqlalchemy.testing.suite import Column |
48 | | -from sqlalchemy.testing.suite import DistinctOnTest |
49 | | -from sqlalchemy.testing.suite import ExistsTest as _ExistsTest |
50 | | -from sqlalchemy.testing.suite import HasIndexTest, IdentityAutoincrementTest |
51 | | -from sqlalchemy.testing.suite import InsertBehaviorTest as _InsertBehaviorTest |
52 | | -from sqlalchemy.testing.suite import String, Table |
53 | 52 | from sqlalchemy.testing.suite import DifficultParametersTest as _DifficultParametersTest |
| 53 | +from sqlalchemy.testing.suite import ExistsTest as _ExistsTest |
54 | 54 | from sqlalchemy.testing.suite import FetchLimitOffsetTest as _FetchLimitOffsetTest |
| 55 | +from sqlalchemy.testing.suite import InsertBehaviorTest as _InsertBehaviorTest |
55 | 56 | from sqlalchemy.testing.suite import SimpleUpdateDeleteTest as _SimpleUpdateDeleteTest |
56 | 57 | from sqlalchemy.testing.suite import ( |
57 | 58 | TimestampMicrosecondsTest as _TimestampMicrosecondsTest, |
|
62 | 63 | ComponentReflectionTestExtra, |
63 | 64 | HasTableTest, |
64 | 65 | ) |
65 | | -import sqlalchemy.testing.suite.test_types |
66 | 66 | from sqlalchemy.testing.suite.test_types import ArrayTest |
67 | 67 |
|
68 | 68 | if packaging.version.parse(sqlalchemy.__version__) >= packaging.version.parse("2.0"): |
@@ -637,8 +637,12 @@ def test_no_results_for_non_returning_insert(cls): |
637 | 637 | del DistinctOnTest # expects unquoted table names. |
638 | 638 | del HasIndexTest # BQ doesn't do the indexes that SQLA is loooking for. |
639 | 639 | del IdentityAutoincrementTest # BQ doesn't do autoincrement |
640 | | -del LongNameBlowoutTest # Requires features (indexes, primary keys, etc., that BigQuery doesn't have. |
641 | | -del PostCompileParamsTest # BQ adds backticks to bind parameters, causing failure of tests TODO: fix this? |
| 640 | +del ( |
| 641 | + LongNameBlowoutTest |
| 642 | +) # Requires features (indexes, primary keys, etc., that BigQuery doesn't have. |
| 643 | +del ( |
| 644 | + PostCompileParamsTest |
| 645 | +) # BQ adds backticks to bind parameters, causing failure of tests TODO: fix this? |
642 | 646 | del QuotedNameArgumentTest # Quotes aren't allowed in BigQuery table names. |
643 | 647 | del ( |
644 | 648 | WindowFunctionTest.test_window_rows_between |
|
0 commit comments