Irit Katriel <[email protected]> added the comment:
I think this has been fixed:
% cat mm.py
import unittest
class TestStringMethods(unittest.TestCase):
@unittest.expectedFailure
def test_upper(self):
self.assertEqual(2, 2)
if __name__ == '__main__':
unittest.main()
% ./python.exe mm.py
x
----------------------------------------------------------------------
Ran 1 test in 0.001s
OK (expected failures=1)
iritkatriel@Irits-MBP cpython % vi mm.py
iritkatriel@Irits-MBP cpython % ./python.exe mm.py
u
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (unexpected successes=1)
----------
nosy: +iritkatriel
resolution: -> out of date
status: open -> pending
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue22815>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com