forked from pool/python-unittest-xml-reporting
- Update to 3.2.0:
* fix subtest referencing objects (#220) * Avoid including empty system-out and system-err when reporting * explicitly require lxml (#232) * make time measurements monotonic (#231) * Add outsuffix option (#238) * Used unittest.TextTestResult instead of an alias _TextTestResult removed in Python 3.11 * Used assertRegex() instead of an alias assertRegexpMatches() removed in Python 3.11 * Fix typo in tests/django_test.py. * Update Django testing. * Add LICENSE to tarball - Switch to pyproject macros. - Refresh python-311.patch. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unittest-xml-reporting?expand=0&rev=32
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
Index: unittest-xml-reporting-3.0.2/xmlrunner/result.py
|
||||
Index: unittest-xml-reporting-3.2.0/xmlrunner/result.py
|
||||
===================================================================
|
||||
--- unittest-xml-reporting-3.0.2.orig/xmlrunner/result.py
|
||||
+++ unittest-xml-reporting-3.0.2/xmlrunner/result.py
|
||||
@@ -179,6 +179,9 @@ class _TestInfo(object):
|
||||
--- unittest-xml-reporting-3.2.0.orig/xmlrunner/result.py
|
||||
+++ unittest-xml-reporting-3.2.0/xmlrunner/result.py
|
||||
@@ -188,6 +188,9 @@ class _TestInfo(object):
|
||||
"""
|
||||
return self.test_exception_info
|
||||
|
||||
@@ -10,9 +10,9 @@ Index: unittest-xml-reporting-3.0.2/xmlrunner/result.py
|
||||
+ return self.test_description
|
||||
+
|
||||
|
||||
class _XMLTestResult(_TextTestResult):
|
||||
class _XMLTestResult(TextTestResult):
|
||||
"""
|
||||
@@ -658,3 +661,8 @@ class _XMLTestResult(_TextTestResult):
|
||||
@@ -673,3 +676,8 @@ class _XMLTestResult(TextTestResult):
|
||||
def _exc_info_to_string(self, err, test):
|
||||
"""Converts a sys.exc_info()-style tuple of values into a string."""
|
||||
return super(_XMLTestResult, self)._exc_info_to_string(err, test)
|
||||
|
Reference in New Issue
Block a user