db-move: moved firefox-i18n from [testing] to [extra] (any)
[arch-packages.git] / python-nose / repos / extra-any / python-nose-py35.patch
blob604f60eaba7ac23fff41e140473e41264566997e
1 diff -up nose-1.3.7/functional_tests/test_load_tests_from_test_case.py.py35 nose-1.3.7/functional_tests/test_load_tests_from_test_case.py
2 --- nose-1.3.7/functional_tests/test_load_tests_from_test_case.py.py35 2012-09-29 02:18:54.000000000 -0600
3 +++ nose-1.3.7/functional_tests/test_load_tests_from_test_case.py 2016-11-15 13:42:27.946707472 -0700
4 @@ -29,6 +29,7 @@ class NoFixturePlug(Plugin):
5 pass
6 def tearDown(self):
7 pass
8 + Derived.__qualname__ = Derived.__name__
9 # must use nose loader here because the default loader in 2.3
10 # won't load tests from base classes
11 l = loader.TestLoader()
12 diff -up nose-1.3.7/nose/util.py.py35 nose-1.3.7/nose/util.py
13 --- nose-1.3.7/nose/util.py.py35 2015-04-04 02:52:52.000000000 -0600
14 +++ nose-1.3.7/nose/util.py 2016-11-15 13:42:27.946707472 -0700
15 @@ -643,6 +643,7 @@ def transplant_class(cls, module):
16 pass
17 C.__module__ = module
18 C.__name__ = cls.__name__
19 + C.__qualname__ = cls.__name__
20 return C
23 diff -up nose-1.3.7/unit_tests/test_xunit.py.py35 nose-1.3.7/unit_tests/test_xunit.py
24 --- nose-1.3.7/unit_tests/test_xunit.py.py35 2015-04-04 02:52:52.000000000 -0600
25 +++ nose-1.3.7/unit_tests/test_xunit.py 2016-11-15 13:42:27.946707472 -0700
26 @@ -16,6 +16,7 @@ def mktest():
27 class TC(unittest.TestCase):
28 def runTest(self):
29 pass
30 + TC.__qualname__ = TC.__name__
31 test = TC()
32 return test