Message268015
| Author |
martin.panter |
| Recipients |
StyXman, christian.heimes, martin.panter, neologix, vstinner |
| Date |
2016年06月09日.10:55:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1465469745.13.0.887165776008.issue26826@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It’s a bit ugly, but I would write the test so that it is recorded as skipped:
try:
os.copy_file_range(...)
except OSError as err:
if err.errno != ENOSYS:
raise # We get to see the full exception details
self.skipTest(err) # Test is recorded as skipped, not passed |
|