Message218727
> Berker: do you consider your diff ready to go in, or is it an "early"
> diff (like a work-in-progress)?
I tested my patch with test_expectedFailure.py again. The patch is not really fixes the problem described in msg215240. So, I consider it a WIP patch for now. Sorry for the noise.
Here is the output on Python 3.3:
$ python3.3 -m unittest discover -v
test_fails (test_expectedFailure.TestControl) ... FAIL
test_passes (test_expectedFailure.TestControl) ... ok
======================================================================
FAIL: test_fails (test_expectedFailure.TestControl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/berker/projects/cpython-default/playground/test_expectedFailure.py", line 9, in test_fails
self.assertFalse(True)
AssertionError: True is not false
----------------------------------------------------------------------
Ran 2 tests in 0.001s
FAILED (failures=1)
And here is the output on Python 3.5 (with issue21112.diff patch):
$ ./../python -m unittest discover -v
test_fails (test_expectedFailure.TestControl) ... FAIL
test_passes (test_expectedFailure.TestControl) ... ok
test_fails (test_expectedFailure.TestTreatment) ... expected failure
test_passes (test_expectedFailure.TestTreatment) ... unexpected success
======================================================================
FAIL: test_fails (test_expectedFailure.TestControl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/berker/projects/cpython-default/playground/test_expectedFailure.py", line 9, in test_fails
self.assertFalse(True)
AssertionError: True is not false
----------------------------------------------------------------------
Ran 4 tests in 0.002s
FAILED (failures=1, expected failures=1, unexpected successes=1) |
|
Date |
User |
Action |
Args |
2014-05-18 01:37:10 | berker.peksag | set | recipients:
+ berker.peksag, pitrou, larry, ned.deily, ezio.melotti, michael.foord, William.Schwartz |
2014-05-18 01:37:10 | berker.peksag | set | messageid: <1400377030.85.0.576414637384.issue21112@psf.upfronthosting.co.za> |
2014-05-18 01:37:10 | berker.peksag | link | issue21112 messages |
2014-05-18 01:37:09 | berker.peksag | create | |
|