File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4372,14 +4372,14 @@ def test_bytes_column(con, request):
43724372 df = pd .read_sql (query , conn , dtype_backend = dtype_backend )
43734373
43744374 dtype = "O"
4375- if dtype_backend == "pyarrow" :
4376- # sqlite3 + mysql both return a binary type
4377- # for the binary literal
4378- dtype = pd .ArrowDtype (pa .binary ())
4379- elif dtype_backend == "pyarrow" and "postgres" in con :
4375+ if dtype_backend == "pyarrow" and "postgres" in con :
43804376 # postgres column is a bit type
43814377 # but converts to a string when returned
43824378 dtype = pd .ArrowDtype (pa .string ())
4379+ elif dtype_backend == "pyarrow" :
4380+ # sqlite3 + mysql both return a binary type
4381+ # for the binary literal
4382+ dtype = pd .ArrowDtype (pa .binary ())
43834383
43844384 expected = DataFrame (
43854385 [
You can’t perform that action at this time.
0 commit comments