Skip to content

Commit

Permalink
Fix: escape sequence warnings closes #2059
Browse files Browse the repository at this point in the history
  • Loading branch information
tobymao committed Aug 15, 2023
1 parent cd2628a commit 21b061f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion tests/dialects/test_bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def test_bigquery(self):
self.validate_all(
"r'x\\y'",
write={
"bigquery": "'x\\\y'",
"bigquery": "'x\\\\y'",
"hive": "'x\\\\y'",
},
)
Expand Down
2 changes: 0 additions & 2 deletions tests/dialects/test_hive.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,9 +720,7 @@ def test_escapes(self) -> None:
self.validate_identity("'\\\\n'")
self.validate_identity("''")
self.validate_identity("'\\\\'")
self.validate_identity("'\z'")
self.validate_identity("'\\z'")
self.validate_identity("'\\\z'")
self.validate_identity("'\\\\z'")

def test_data_type(self):
Expand Down

1 comment on commit 21b061f

@mgorny
Copy link

@mgorny mgorny commented on 21b061f Aug 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.