Skip to content

Commit

Permalink
Remove NaN currency case
Browse files Browse the repository at this point in the history
  • Loading branch information
DenverCoder1 committed Jan 20, 2023
1 parent 655778b commit 65bab03
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_numbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def test_nan_and_infinity(self):
assert numbers.format_compact_decimal(decimal.Decimal('NaN'), locale='en_US', format_type="short") == 'NaN'
assert numbers.format_currency(decimal.Decimal('Infinity'), 'USD', locale='en_US') == '$∞'
assert numbers.format_currency(decimal.Decimal('-Infinity'), 'USD', locale='en_US') == '-$∞'
assert numbers.format_currency(decimal.Decimal('NaN'), 'USD', locale='en_US') == '$NaN.00'

def test_group_separator(self):
assert numbers.format_decimal(29567.12, locale='en_US', group_separator=False) == '29567.12'
Expand Down

0 comments on commit 65bab03

Please sign in to comment.