mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-30 12:34:52 -04:00
Make MonkeyPatchedBinaryTest only run when using mssql. Prevents failed
tests when using a different dialect.
This commit is contained in:
@@ -1926,6 +1926,8 @@ class TypeRoundTripTest(fixtures.TestBase, AssertsExecutionResults, ComparesTabl
|
||||
engine.execute(tbl.delete())
|
||||
|
||||
class MonkeyPatchedBinaryTest(fixtures.TestBase):
|
||||
__only_on__ = 'mssql'
|
||||
|
||||
def test_unicode(self):
|
||||
module = __import__('pymssql')
|
||||
result = module.Binary(u'foo')
|
||||
|
||||
Reference in New Issue
Block a user