You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-nose/python-nose-fix-_removed_te...

24 lines
684 B

From 913742caf54ab68b782286c3d7a3fe87ed4d0acd Mon Sep 17 00:00:00 2001
From: Robert Kuska <rkuska@redhat.com>
Date: Mon, 19 May 2014 12:51:06 +0200
Subject: [PATCH] Call super in LazySuite to access _removed_tests variable
---
nose/suite.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/nose/suite.py b/nose/suite.py
index 18098ca..f3ccd18 100644
--- a/nose/suite.py
+++ b/nose/suite.py
@@ -49,6 +49,7 @@ class LazySuite(unittest.TestSuite):
def __init__(self, tests=()):
"""Initialize the suite. tests may be an iterable or a generator
"""
+ super(LazySuite, self).__init__()
self._set_tests(tests)
def __iter__(self):
--
1.9.3