Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 7d5a6e1

Browse files
authored
refactor: removed test_w_numeric as it was redundent to test_w_numeric_precision_and_scale_valid (#350)
1 parent e69e6ab commit 7d5a6e1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/unit/test__helpers.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,6 @@ def test_w_timestamp_w_tz(self):
220220
self.assertIsInstance(value_pb, Value)
221221
self.assertEqual(value_pb.string_value, "2021-02-08T07:00:00.000000Z")
222222

223-
def test_w_numeric(self):
224-
import decimal
225-
from google.protobuf.struct_pb2 import Value
226-
227-
value = decimal.Decimal("9999999999999999999999999999.999999999")
228-
value_pb = self._callFUT(value)
229-
self.assertIsInstance(value_pb, Value)
230-
self.assertEqual(value_pb.string_value, str(value))
231-
232223
def test_w_unknown_type(self):
233224
with self.assertRaises(ValueError):
234225
self._callFUT(object())

0 commit comments

Comments
 (0)