summaryrefslogtreecommitdiff
path: root/test/engine/test_parseconnect.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-02-20 20:16:18 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-02-20 20:16:18 +0000
commit0ee04dfcb07b8ba1deaa0db51740bea31f10f54f (patch)
treedd86d8eac7cb3ba6d5cefa1762fb531253a13b94 /test/engine/test_parseconnect.py
parent74ab1c57a3b575f3f44f445cdf5909855c561274 (diff)
downloadsqlalchemy-0ee04dfcb07b8ba1deaa0db51740bea31f10f54f.tar.gz
another weird nose + py3k fix
Diffstat (limited to 'test/engine/test_parseconnect.py')
-rw-r--r--test/engine/test_parseconnect.py3
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):