Skip to content
Snippets Groups Projects

Introduce pyupgrade

Merged Yoann Schneider requested to merge introduce-pyupgrade into master
2 files
+ 3
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -67,7 +67,7 @@ class _AssertExactQueriesContext(CaptureQueriesContext):
if not self.path.exists():
try:
self.path.write_text(actual_sql)
except IOError as e:
except OSError as e:
raise AssertionError(
f"Could not assert on SQL queries; the file at {self.path} did not exist. "
"A new file could not be created with the current SQL queries."
Loading