@@ -768,7 +768,7 @@ def test_postgres_types_cursor(postgres_url: str) -> None:
768768
769769
770770def test_types_simple (postgres_url : str ) -> None :
771- query = "SELECT test_date, test_timestamp, test_timestamptz, test_int16, test_int64, test_float32, test_numeric, test_bpchar, test_char, test_varchar, test_uuid, test_time, test_json, test_jsonb, test_bytea, test_enum::text , test_f4array, test_f8array, test_narray, test_i2array, test_i4array, test_i8array FROM test_types"
771+ query = "SELECT test_date, test_timestamp, test_timestamptz, test_int16, test_int64, test_float32, test_numeric, test_bpchar, test_char, test_varchar, test_uuid, test_time, test_bytea, test_enum, test_f4array, test_f8array, test_narray, test_i2array, test_i4array, test_i8array FROM test_types"
772772 df = read_sql (postgres_url , query , protocol = "simple" )
773773 expected = pd .DataFrame (
774774 index = range (4 ),
@@ -817,24 +817,6 @@ def test_types_simple(postgres_url: str) -> None:
817817 "test_time" : pd .Series (
818818 ["08:12:40" , None , "23:00:10" , "18:30:00" ], dtype = "object"
819819 ),
820- "test_json" : pd .Series (
821- [
822- '{"customer":"John Doe","items":{"product":"Beer","qty":6}}' ,
823- '{"customer":"Lily Bush","items":{"product":"Diaper","qty":24}}' ,
824- '{"customer":"Josh William","items":{"product":"Toy Car","qty":1}}' ,
825- None ,
826- ],
827- dtype = "object" ,
828- ),
829- "test_jsonb" : pd .Series (
830- [
831- '{"qty":6,"product":"Beer"}' ,
832- '{"qty":24,"product":"Diaper"}' ,
833- '{"qty":1,"product":"Toy Car"}' ,
834- None ,
835- ],
836- dtype = "object" ,
837- ),
838820 "test_bytea" : pd .Series (
839821 [
840822 None ,
0 commit comments