8000 fix: remove error msg check from test_decimal_precision_limit for non… · googleapis/python-spanner-django@fe4a062 · GitHub
[go: up one dir, main page]

Skip to content

Commit fe4a062

Browse files
authored
fix: remove error msg check from test_decimal_precision_limit for non emulator test (#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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/django_spanner/test_decimal.py

Lines 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