summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-10-02 16:50:09 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-10-02 19:03:40 -0400
commitf846a789b78f977b4d7e8e16b412b07e77f2ab13 (patch)
treefc66460dffde1cbf8e3eda3d84c9ca9ca9ed3017 /lib/sqlalchemy
parentb07f8839795adfee40e7d34279242ea1e35dbda8 (diff)
downloadsqlalchemy-f846a789b78f977b4d7e8e16b412b07e77f2ab13.tar.gz
PG dialect test fixes
Make sure we clear the plugin registry before testing that the "postgres" name raises. Also move non-backend tests out of MiscTest into a new suite. Change-Id: Icd1bb4745aa07f52d585fcf959f76fcd8bdc7f24
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/util/langhelpers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py
index 9ca19f138..c90431d33 100644
--- a/lib/sqlalchemy/util/langhelpers.py
+++ b/lib/sqlalchemy/util/langhelpers.py
@@ -193,6 +193,9 @@ class PluginLoader(object):
self.impls = {}
self.auto_fn = auto_fn
+ def clear(self):
+ self.impls.clear()
+
def load(self, name):
if name in self.impls:
return self.impls[name]()