Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vi3k6i5 committed Jun 15, 2021
1 parent 9be15c0 commit fe4a062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/django_spanner/test_decimal.py
Expand Up @@ -91,7 +91,7 @@ def test_decimal_precision_limit(self):
with self.assertRaises(ValueError):
num_val.save()
else:
with self.assertRaisesRegex(ProgrammingError):
with self.assertRaises(ProgrammingError):
num_val.save()

def test_decimal_update(self):
Expand Down

0 comments on commit fe4a062

Please sign in to comment.