Skip to content

Commit

Permalink
Fixed tests for FP decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Jan 7, 2013
1 parent aee46fa commit b0f45ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _python_ver(skip_major, skip_minor=None):

class UltraJSONTests(TestCase):

def test_ujson(self):
def test_decimalDecodeTest(self):
sut = {u'a': 4.56}
encoded = ujson.encode(sut)
decoded = ujson.decode(encoded)
Expand Down Expand Up @@ -560,7 +560,7 @@ def test_numericIntFrcExp(self):
self.assertEquals(output, json.loads(input))

def test_decodeNumericIntExpEPLUS(self):
input = "1337E+40"
input = "1337E+9"
output = ujson.decode(input)
self.assertEquals(output, json.loads(input))

Expand Down

0 comments on commit b0f45ca

Please sign in to comment.