From fe4a062797bfec461e4fa7c2fa6e5d83dfb1938c Mon Sep 17 00:00:00 2001 From: Vikash Singh <3116482+vi3k6i5@users.noreply.github.com> Date: Tue, 15 Jun 2021 22:32:30 +0530 Subject: [PATCH] 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 --- tests/system/django_spanner/test_decimal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/django_spanner/test_decimal.py b/tests/system/django_spanner/test_decimal.py index 778b5f8702..73df7e796b 100644 --- a/tests/system/django_spanner/test_decimal.py +++ b/tests/system/django_spanner/test_decimal.py @@ -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):