28
28
import pytest
29
29
30
30
import pandas .compat as compat
31
- from pandas .compat import PY36 , lrange , range , string_types
31
+ from pandas .compat import PY35 , PY36 , lrange , range , string_types
32
32
33
33
from pandas .core .dtypes .common import (
34
34
is_datetime64_dtype , is_datetime64tz_dtype )
@@ -941,6 +941,7 @@ def test_read_sql_delegate(self):
941
941
iris_frame2 = sql .read_sql ('iris' , self .conn )
942
942
tm .assert_frame_equal (iris_frame1 , iris_frame2 )
943
943
944
+ @pytest .mark .xfail (PY35 and not PY36 , reason = 'too many warnings?' )
944
945
def test_not_reflect_all_tables (self ):
945
946
# create invalid table
946
947
qry = """CREATE TABLE invalid (x INTEGER, y UNKNOWN);"""
@@ -957,6 +958,7 @@ def test_not_reflect_all_tables(self):
957
958
# Verify some things
958
959
assert len (w ) == 0
959
960
961
+ @pytest .mark .xfail (PY35 and not PY36 , reason = 'too many warnings?' )
960
962
def test_warning_case_insensitive_table_name (self ):
961
963
# see gh-7815
962
964
#
@@ -1787,6 +1789,7 @@ def test_default_date_load(self):
1787
1789
# IMPORTANT - sqlite has no native date type, so shouldn't parse, but
1788
1790
assert not issubclass (df .DateCol .dtype .type , np .datetime64 )
1789
1791
1792
+ @pytest .mark .xfail (PY35 and not PY36 , reason = 'too many warnings?' )
1790
1793
def test_bigint_warning (self ):
1791
1794
# test no warning for BIGINT (to support int64) is raised (GH7433)
1792
1795
df = DataFrame ({'a' : [1 , 2 ]}, dtype = 'int64' )
0 commit comments