예제 #1
0
 def test_as_py(self):
     with filetext(self.text) as fn:
         dd = JSON_Streaming(fn, mode='r', schema=self.schema)
         assert dd.as_py() == self.data
예제 #2
0
 def test_as_py(self):
     with filetext(self.text) as fn:
         dd = JSON_Streaming(fn, mode='r', schema=self.schema)
         self.assertEqual(dd.as_py(), self.tuples)
예제 #3
0
파일: test_json.py 프로젝트: vitan/blaze
 def test_as_py(self):
     with filetext(self.text) as fn:
         dd = JSON_Streaming(fn, mode='r', schema=self.schema)
         self.assertEqual(dd.as_py(), self.tuples)