fix that new test. ./runtests.sh wasn't seeing the problem for some reason

This commit is contained in:
Travis J Parker 2011-04-26 16:52:34 -07:00
parent b39e2da029
commit 5405ff8a53
1 changed files with 3 additions and 1 deletions

View File

@ -336,7 +336,9 @@ class IssueTwentySevenTest(unittest.TestCase):
"https://github.com/rtyler/py-yajl/issues/27"
def runTest(self):
u = u'[{"data":"Podstawow\u0105 opiek\u0119 zdrowotn\u0105"}]'
self.assertEqual(yajl.loads(yajl.dumps(u)), u)
self.assertEqual(
yajl.dumps(yajl.loads(u)),
'[{"data":"Podstawow\\u0105 opiek\\u0119 zdrowotn\\u0105"}]')
if __name__ == '__main__':