[issue34031] [EASY] Incorrect usage of unittest.TestCase in test_urllib2_localnet
Karthikeyan Singaravelan
report at bugs.python.org
Wed Jul 4 10:40:54 EDT 2018
Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:
This might be slightly unrelated but I grepped for similar cases and came across self.fail, "Broken file" in Lib/test/test_file.py at https://github.com/python/cpython/blob/a390cb6b6fb6638e91d699513167e8f35b47f846/Lib/test/test_file.py#L245. I think this is not triggered for broken file which I tried in the test by removing the if condition. Kindly correct me if I am wrong on the syntax or this should be raised as a separate issue.
Thanks
----------
nosy: +xtreak
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34031>
_______________________________________
More information about the Python-bugs-list
mailing list