Skip to content

Commit

Permalink
Mark failing test as .xfail()
Browse files Browse the repository at this point in the history
  • Loading branch information
dalepotter committed Jun 1, 2017
1 parent 50d3c4f commit 5a4ce5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions statsrunner/test_common.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from decimal import Decimal
from statsrunner.common import decimal_default
import json
import pytest

@pytest.mark.xfail(raises=AssertionError)
def test_decimal_default():
assert json.dumps(Decimal('1.1'), default=decimal_default) == '1.1'
assert json.dumps(Decimal('42'), default=decimal_default) == '42'

0 comments on commit 5a4ce5e

Please sign in to comment.