Skip to content

Commit

Permalink
tests(json): Fix exponential numbers tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSavefrogs committed Aug 28, 2023
1 parent efd385c commit e43aac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polyfills/json/tests/dumps/test_dumps.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_numbers(self):
)
self.assertEqual(
json.dumps(3.14e10),
'31400000000.0',
str(3.14e10), # With '31400000000.0' tests failed on Python 2.2 and lower
"Exponential numbers should work"
)

Expand Down

0 comments on commit e43aac9

Please sign in to comment.