Message220565
| Author |
Claudiu.Popa |
| Recipients |
Claudiu.Popa, berker.peksag, cjwatson, hynek |
| Date |
2014年06月14日.15:16:38 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1402758998.93.0.383910590129.issue18108@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Looks good to me. But aren't the last two lines skipped if an error is raised by the first line from the with block?
+ with self.assertRaises(FileNotFoundError):
+ shutil.chown('invalid-file', user=uid, dir_fd=dirfd)
+ shutil.chown('invalid-file', group=gid, dir_fd=dirfd)
+ shutil.chown('invalid-file', user=uid, group=gid, dir_fd=dirfd) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年06月14日 15:16:38 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, cjwatson, berker.peksag, hynek |
| 2014年06月14日 15:16:38 | Claudiu.Popa | set | messageid: <1402758998.93.0.383910590129.issue18108@psf.upfronthosting.co.za> |
| 2014年06月14日 15:16:38 | Claudiu.Popa | link | issue18108 messages |
| 2014年06月14日 15:16:38 | Claudiu.Popa | create |
|