[issue31604] unittest.TestLoader().loadTestsFromTestCase(...) fails when adding test cases with the expectedFailure decorator

2021-05-10 Thread Irit Katriel
Irit Katriel added the comment: I can't reproduce the issue on 3.10, I believe it was fixed by this: https://github.com/python/cpython/commit/c9b3ef2df06818f055e555c1d23e3ff2d5bf2d74 in particular: - def expectedFailure(func): - @functools.wraps(func) - def wrapper(*args,

[issue31604] unittest.TestLoader().loadTestsFromTestCase(...) fails when adding test cases with the expectedFailure decorator

2018-07-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31604] unittest.TestLoader().loadTestsFromTestCase(...) fails when adding test cases with the expectedFailure decorator

2017-11-04 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +ezio.melotti, michael.foord, rbcollins ___ Python tracker ___

[issue31604] unittest.TestLoader().loadTestsFromTestCase(...) fails when adding test cases with the expectedFailure decorator

2017-09-28 Thread Krzysztof Warunek
Krzysztof Warunek added the comment: AFAIK this helper is meant to be used with test function not the TestCases. -- nosy: +kwarunek ___ Python tracker

[issue31604] unittest.TestLoader().loadTestsFromTestCase(...) fails when adding test cases with the expectedFailure decorator

2017-09-27 Thread Erasmus Cedernaes
New submission from Erasmus Cedernaes : How to reproduce: * Run the attached file with Python 2.7 without any modifications. This will produce an error, as described below. * Uncomment line 2 (the decorator @unittest.expectedFailure) and run the file with Python 2.7. This