Browse files

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

…eason
  • Loading branch information...
1 parent b39e2da commit 5405ff8a5333e2728de79a08306597d7f2760a39 @teepark teepark committed Apr 26, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/unit.py
View
4 tests/unit.py
@@ -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__':

0 comments on commit 5405ff8

Please sign in to comment.