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 iritkatriel, rbcollins
Date 2021-12-06.16:27:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638808070.46.0.43699610501.issue22815@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2021-12-06 16:27:50iritkatrielsetrecipients: + iritkatriel, rbcollins
2021-12-06 16:27:50iritkatrielsetmessageid: <1638808070.46.0.43699610501.issue22815@roundup.psfhosted.org>
2021-12-06 16:27:50iritkatriellinkissue22815 messages
2021-12-06 16:27:50iritkatrielcreate