summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dialect/mssql/test_compiler.py8
-rw-r--r--test/dialect/postgresql/test_dialect.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/test/dialect/mssql/test_compiler.py b/test/dialect/mssql/test_compiler.py
index 26e6d152c..339cc7590 100644
--- a/test/dialect/mssql/test_compiler.py
+++ b/test/dialect/mssql/test_compiler.py
@@ -389,8 +389,8 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
)
q = select(
- [table1.c.myid, sql.literal('bar').label('c1')],
- order_by=[table1.c.name + '-']
+ [table1.c.myid, sql.literal("bar").label("c1")],
+ order_by=[table1.c.name + "-"],
).alias("foo")
crit = q.c.myid == table1.c.myid
dialect = mssql.dialect()
@@ -402,9 +402,9 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
"myid, ? AS c1 FROM mytable) AS foo, mytable WHERE "
"foo.myid = mytable.myid",
dialect=dialect,
- checkparams={'param_1': 'bar'},
+ checkparams={"param_1": "bar"},
# if name_1 is included, too many parameters are passed to dbapi
- checkpositional=('bar', )
+ checkpositional=("bar",),
)
def test_force_schema_quoted_name_w_dot_case_insensitive(self):
diff --git a/test/dialect/postgresql/test_dialect.py b/test/dialect/postgresql/test_dialect.py
index 1a735c41d..c68af2abb 100644
--- a/test/dialect/postgresql/test_dialect.py
+++ b/test/dialect/postgresql/test_dialect.py
@@ -119,7 +119,7 @@ class DialectTest(fixtures.TestBase):
dialect = psycopg2_dialect.dialect()
u = url.make_url("postgresql://")
cargs, cparams = dialect.create_connect_args(u)
- eq_(cargs, [''])
+ eq_(cargs, [""])
eq_(cparams, {})
def test_psycopg2_nonempty_connection_string(self):