Apply black

This commit is contained in:
David Wobrock committed 2021-06-19 18:15:40 +02:00
1 parent ea89043d8c
commit 27e492996c
2 files changed
+5 -2

No files matched your search

+3 -1
View File
@@ -17,7 +17,9 @@ class SqlAnalyserTestCase(unittest.TestCase):
errors, _, warnings = self.analyse_sql(sql)
self.assertEqual(0, len(errors), "Found errors in sql: {}".format(errors))
if not allow_warnings:
self.assertEqual(0, len(warnings), "Found warnings in sql: {}".format(errors))
self.assertEqual(
0, len(warnings), "Found warnings in sql: {}".format(errors)
)
def assertBackwardIncompatibleSql(self, sql):
errors, _, _ = self.analyse_sql(sql)