diff options
Diffstat (limited to 'test/engine/test_parseconnect.py')
-rw-r--r-- | test/engine/test_parseconnect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/engine/test_parseconnect.py b/test/engine/test_parseconnect.py index 62e5d58d6..c00a83136 100644 --- a/test/engine/test_parseconnect.py +++ b/test/engine/test_parseconnect.py @@ -38,10 +38,11 @@ class ParseConnectTest(TestBase): class DialectImportTest(TestBase): def test_import_base_dialects(self): + # the globals() somehow makes it for the exec() + nose3. for name in ('mysql', 'firebird', 'postgresql', 'sqlite', 'oracle', 'mssql'): exec("from sqlalchemy.dialects import %s\n" "dialect = %s.dialect()" - % (name, name)) + % (name, name), globals()) eq_(dialect.name, name) class CreateEngineTest(TestBase): |