File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 13
13
html5lib
14
14
jinja2
15
15
sqlalchemy
16
- pymysql<0.8.0
16
+ pymysql
17
17
feather-format
18
18
pyarrow
19
19
psycopg2
Original file line number Diff line number Diff line change @@ -1731,13 +1731,16 @@ class _TestMySQLAlchemy(object):
1731
1731
@classmethod
1732
1732
def connect (cls ):
1733
1733
url = 'mysql+{driver}://root@localhost/pandas_nosetest'
1734
- return sqlalchemy .create_engine (url .format (driver = cls .driver ))
1734
+ return sqlalchemy .create_engine (url .format (driver = cls .driver ),
1735
+ connect_args = cls .connect_args )
1735
1736
1736
1737
@classmethod
1737
1738
def setup_driver (cls ):
1738
1739
try :
1739
1740
import pymysql # noqa
1740
1741
cls .driver = 'pymysql'
1742
+ from pymysql .constants import CLIENT
1743
+ cls .connect_args = {'client_flag' : CLIENT .MULTI_STATEMENTS }
1741
1744
except ImportError :
1742
1745
pytest .skip ('pymysql not installed' )
1743
1746
You can’t perform that action at this time.
0 commit comments