This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients Erasmus Cedernaes, ezio.melotti, iritkatriel, kwarunek, michael.foord, rbcollins
Date 2021-05-10.16:21:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I can't reproduce the issue on 3.10, I believe it was fixed by this:

in particular:

- def expectedFailure(func):
-     @functools.wraps(func)
-     def wrapper(*args, **kwargs):
-         try:
-             func(*args, **kwargs)
-         except Exception:
-             raise _ExpectedFailure(sys.exc_info())
-         raise _UnexpectedSuccess
-     return wrapper
+ def expectedFailure(test_item):
+     test_item.__unittest_expecting_failure__ = True
+     return test_item

2.7 won't be fixed, so closing.
Date User Action Args
2021-05-10 16:21:47iritkatrielsetrecipients: + iritkatriel, rbcollins, ezio.melotti, michael.foord, kwarunek, Erasmus Cedernaes
2021-05-10 16:21:47iritkatrielsetmessageid: <>
2021-05-10 16:21:47iritkatriellinkissue31604 messages
2021-05-10 16:21:47iritkatrielcreate