@@ -1321,20 +1321,22 @@ def testSeries(self):
13211321 numpy = True ))
13221322 outp = Series (** dec )
13231323
1324+ exp_np = Series (np .array ([10 , 20 , 30 , 40 , 50 , 60 ]))
1325+ exp_pd = Series ([10 , 20 , 30 , 40 , 50 , 60 ])
13241326 outp = Series (ujson .decode (ujson .encode (s , orient = "records" ),
13251327 numpy = True ))
1326- exp = Series ([10 , 20 , 30 , 40 , 50 , 60 ])
1327- tm .assert_series_equal (outp , exp )
1328+ tm .assert_series_equal (outp , exp_np )
13281329
13291330 outp = Series (ujson .decode (ujson .encode (s , orient = "records" )))
1330- tm .assert_series_equal (outp , exp )
1331+ exp = Series ([10 , 20 , 30 , 40 , 50 , 60 ])
1332+ tm .assert_series_equal (outp , exp_pd )
13311333
13321334 outp = Series (ujson .decode (ujson .encode (s , orient = "values" ),
13331335 numpy = True ))
1334- tm .assert_series_equal (outp , exp )
1336+ tm .assert_series_equal (outp , exp_np )
13351337
13361338 outp = Series (ujson .decode (ujson .encode (s , orient = "values" )))
1337- tm .assert_series_equal (outp , exp )
1339+ tm .assert_series_equal (outp , exp_pd )
13381340
13391341 outp = Series (ujson .decode (ujson .encode (
13401342 s , orient = "index" ))).sort_values ()
0 commit comments