@@ -496,17 +496,6 @@ def test_get_columns(self):
496
496
for table in table_names :
497
497
cursor .execute ("DROP TABLE IF EXISTS {}" .format (table ))
498
498
499
- @pytest .mark .parametrize (
500
- "extra_params" ,
501
- [
502
- {},
503
- {
504
- "use_sea" : True ,
505
- "use_cloud_fetch" : False ,
506
- "enable_query_result_lz4_compression" : False ,
507
- },
508
- ],
509
- )
510
499
def test_escape_single_quotes (self , extra_params ):
511
500
with self .cursor (extra_params ) as cursor :
512
501
table_name = "table_{uuid}" .format (uuid = str (uuid4 ()).replace ("-" , "_" ))
@@ -824,21 +813,8 @@ def test_ssp_passthrough(self):
824
813
assert list (cursor .fetchone ()) == ["ansi_mode" , str (enable_ansi )]
825
814
826
815
@skipUnless (pysql_supports_arrow (), "arrow test needs arrow support" )
827
- @pytest .mark .parametrize (
828
- "extra_params" ,
829
- [
830
- {},
831
- {
832
- "use_sea" : True ,
833
- "use_cloud_fetch" : False ,
834
- "enable_query_result_lz4_compression" : False ,
835
- },
836
- ],
837
- )
838
- def test_timestamps_arrow (self , extra_params ):
839
- with self .cursor (
840
- {"session_configuration" : {"ansi_mode" : False }, ** extra_params }
841
- ) as cursor :
816
+ def test_timestamps_arrow (self ):
817
+ with self .cursor ({"session_configuration" : {"ansi_mode" : False }}) as cursor :
842
818
for timestamp , expected in self .timestamp_and_expected_results :
843
819
cursor .execute (
844
820
"SELECT TIMESTAMP('{timestamp}')" .format (timestamp = timestamp )
@@ -892,20 +868,9 @@ def test_multi_timestamps_arrow(self, extra_params):
892
868
assert result == expected
893
869
894
870
@skipUnless (pysql_supports_arrow (), "arrow test needs arrow support" )
895
- @pytest .mark .parametrize (
896
- "extra_params" ,
897
- [
898
- {},
899
- {
900
- "use_sea" : True ,
901
- "use_cloud_fetch" : False ,
902
- "enable_query_result_lz4_compression" : False ,
903
- },
904
- ],
905
- )
906
- def test_timezone_with_timestamp (self , extra_params ):
871
+ def test_timezone_with_timestamp (self ):
907
872
if self .should_add_timezone ():
908
- with self .cursor (extra_params ) as cursor :
873
+ with self .cursor () as cursor :
909
874
cursor .execute ("SET TIME ZONE 'Europe/Amsterdam'" )
910
875
cursor .execute ("select CAST('2022-03-02 12:54:56' as TIMESTAMP)" )
911
876
amsterdam = pytz .timezone ("Europe/Amsterdam" )
0 commit comments