Skip to content

Commit

Permalink
Skip invalid values test on mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Oct 17, 2016
1 parent cd015d5 commit 6fc8bfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_persistence.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def test_with(self):
assert len(self.db['weather']) == init_length

def test_invalid_values(self):
if 'mysql.connector' in self.db.engine.dialect.dbapi.__name__:
# WARNING: mysql-connector seems to be doing some weird type casting upon insert.
if 'mysql' in self.db.engine.dialect.dbapi.__name__:
# WARNING: mysql seems to be doing some weird type casting upon insert.
# The mysql-python driver is not affected but it isn't compatible with Python 3
# Conclusion: use postgresql.
return
Expand Down

0 comments on commit 6fc8bfe

Please sign in to comment.