From f7375bb6090f32c3feb3d71e196ed01ee19fecc8 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 23 Jan 2009 15:49:16 -0700 Subject: Added stuff for managing connections and new Executioner backend base class --- tests/util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/util.py') diff --git a/tests/util.py b/tests/util.py index 631d4a05c..cd7400ba1 100644 --- a/tests/util.py +++ b/tests/util.py @@ -207,9 +207,9 @@ class ClassChecker(object): """ nose tear-down fixture. """ - for name in ('ugettext', 'ungettext'): - if hasattr(context, name): - delattr(context, name) + for name in context.__dict__.keys(): + delattr(context, name) + -- cgit