diff options
author | Jason Pellerin <jpellerin@gmail.com> | 2009-02-21 17:42:56 +0000 |
---|---|---|
committer | Jason Pellerin <jpellerin@gmail.com> | 2009-02-21 17:42:56 +0000 |
commit | 3b288b42f41d4662be82cafbd883a23e3e6212e9 (patch) | |
tree | 6f9195ab819a74ef76d4cfbf487c252a1381ad47 | |
parent | 22d020ce4c2271500cb91ca9a678c73944ac064a (diff) | |
download | nose-3b288b42f41d4662be82cafbd883a23e3e6212e9.tar.gz |
Fixed issue 237 (patch from pjenvey)
-rw-r--r-- | nose/suite.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nose/suite.py b/nose/suite.py index dc46f92..29331af 100644 --- a/nose/suite.py +++ b/nose/suite.py @@ -265,7 +265,7 @@ class ContextSuite(LazySuite): else: names = self.moduleSetup if hasattr(context, '__path__'): - names += names + names = self.packageSetup + names try_run(context, names) def shortDescription(self): @@ -317,7 +317,7 @@ class ContextSuite(LazySuite): else: names = self.moduleTeardown if hasattr(context, '__path__'): - names += names + names = self.packageTeardown + names try_run(context, names) self.config.plugins.stopContext(context) |