Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe4a062

Browse filesBrowse files
authored
fix: remove error msg check from test_decimal_precision_limit for non emulator test (googleapis#647)
* fix: remove error msg check from test_decimal_precision_limit * refactor: lint fixes * fix: changed assertRaisesRegex to assertRaises for non emmulator test case in test_decimal_precision_limit
1 parent 9be15c0 commit fe4a062
Copy full SHA for fe4a062

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎tests/system/django_spanner/test_decimal.py

Copy file name to clipboardExpand all lines: tests/system/django_spanner/test_decimal.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_decimal_precision_limit(self):
9191
with self.assertRaises(ValueError):
9292
num_val.save()
9393
else:
94-
with self.assertRaisesRegex(ProgrammingError):
94+
with self.assertRaises(ProgrammingError):
9595
num_val.save()
9696

9797
def test_decimal_update(self):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.