@@ -143,7 +143,7 @@ def test_read_gbq_colab_repr_avoids_requery(maybe_ordered_session):
143143def test_read_gbq_colab_includes_formatted_scalars (session ):
144144 pyformat_args = {
145145 "some_integer" : 123 ,
146- "some_string" : "This could be dangerous, but we escape it " ,
146+ "some_string" : "This could be dangerous. " ,
147147 # This is not a supported type, but ignored if not referenced.
148148 "some_object" : object (),
149149 }
@@ -153,7 +153,7 @@ def test_read_gbq_colab_includes_formatted_scalars(session):
153153 df = session ._read_gbq_colab (
154154 """
155155 SELECT {some_integer} as some_integer,
156- {some_string} as some_string,
156+ ' {some_string}' as some_string,
157157 '{{escaped}}' as escaped
158158 """ ,
159159 pyformat_args = pyformat_args ,
@@ -165,7 +165,7 @@ def test_read_gbq_colab_includes_formatted_scalars(session):
165165 {
166166 "some_integer" : pandas .Series ([123 ], dtype = pandas .Int64Dtype ()),
167167 "some_string" : pandas .Series (
168- ["This could be dangerous, but we escape it " ],
168+ ["This could be dangerous. " ],
169169 dtype = "string[pyarrow]" ,
170170 ),
171171 "escaped" : pandas .Series (["{escaped}" ], dtype = "string[pyarrow]" ),
0 commit comments