From c350f841342675440837740f9df1c582e499da25 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 8 Mar 2010 20:42:26 -0700 Subject: Finish deferred translation mechanism --- tests/util.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/util.py') diff --git a/tests/util.py b/tests/util.py index f3215e7d..c22167a3 100644 --- a/tests/util.py +++ b/tests/util.py @@ -417,8 +417,7 @@ class ClassChecker(object): """ nose tear-down fixture. """ - for name in context.__dict__.keys(): - delattr(context, name) + context.__dict__.clear() @@ -509,8 +508,7 @@ class PluginTester(object): """ nose tear-down fixture. """ - for name in context.__dict__.keys(): - delattr(context, name) + context.__dict__.clear() class dummy_ugettext(object): -- cgit