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.
34 lines
1.4 KiB
34 lines
1.4 KiB
8 years ago
|
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
|
||
|
--- nose-1.3.7/functional_tests/test_load_tests_from_test_case.py.py35 2012-09-29 02:18:54.000000000 -0600
|
||
|
+++ nose-1.3.7/functional_tests/test_load_tests_from_test_case.py 2016-11-15 13:42:27.946707472 -0700
|
||
|
@@ -29,6 +29,7 @@ class NoFixturePlug(Plugin):
|
||
|
pass
|
||
|
def tearDown(self):
|
||
|
pass
|
||
|
+ Derived.__qualname__ = Derived.__name__
|
||
|
# must use nose loader here because the default loader in 2.3
|
||
|
# won't load tests from base classes
|
||
|
l = loader.TestLoader()
|
||
|
diff -up nose-1.3.7/nose/util.py.py35 nose-1.3.7/nose/util.py
|
||
|
--- nose-1.3.7/nose/util.py.py35 2015-04-04 02:52:52.000000000 -0600
|
||
|
+++ nose-1.3.7/nose/util.py 2016-11-15 13:42:27.946707472 -0700
|
||
|
@@ -643,6 +643,7 @@ def transplant_class(cls, module):
|
||
|
pass
|
||
|
C.__module__ = module
|
||
|
C.__name__ = cls.__name__
|
||
|
+ C.__qualname__ = cls.__name__
|
||
|
return C
|
||
|
|
||
|
|
||
|
diff -up nose-1.3.7/unit_tests/test_xunit.py.py35 nose-1.3.7/unit_tests/test_xunit.py
|
||
|
--- nose-1.3.7/unit_tests/test_xunit.py.py35 2015-04-04 02:52:52.000000000 -0600
|
||
|
+++ nose-1.3.7/unit_tests/test_xunit.py 2016-11-15 13:42:27.946707472 -0700
|
||
|
@@ -16,6 +16,7 @@ def mktest():
|
||
|
class TC(unittest.TestCase):
|
||
|
def runTest(self):
|
||
|
pass
|
||
|
+ TC.__qualname__ = TC.__name__
|
||
|
test = TC()
|
||
|
return test
|
||
|
|