Message220565
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) |
|
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 | |
|