| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| def test__format_operation_w_empty_dict(self): | ||
| from google.cloud.bigquery.dbapi import cursor | ||
|
|
||
| formatted_operation = cursor._format_operation("SELECT 1", {},) |
There was a problem hiding this comment.
Won't the linter complain about the trailing comma here?
Sorry, something went wrong.
| from google.cloud.bigquery.dbapi import cursor | ||
|
|
||
| formatted_operation = cursor._format_operation("SELECT 1", {}) | ||
| self.assertEqual(formatted_operation, "SELECT 1") |
There was a problem hiding this comment.
Actually, let's put a % sign in this string to catch the reported error
| self.assertEqual(formatted_operation, "SELECT 1") | |
| self.assertEqual(formatted_operation, "SELECT '%f'") |
Sorry, something went wrong.
…into bigquery_issue_346
|
Thanks for the quick fix! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #346