python-nose/python-nose-fix-_removed_tests-attribute.patch
Slavek Kabrda 96970b9055 Add patch for issue https://github.com/nose-devs/nose/pull/811,
which makes tests of python-billiard and python-falcon fail with Python 3.4
2014-05-21 09:49:15 +02:00

24 lines
684 B
Diff

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