[issue20069] Add unit test for os.chown
Claudiu Popa
report at bugs.python.org
Wed Jun 18 17:25:56 CEST 2014
Claudiu Popa added the comment:
os.chown is not available on Windows. But maybe pwd can't be built on any Unix system, so not using import_module is okay.
"=> I can not because assertRaisesRegex can not be used with "with" statement."
Not true (see https://docs.python.org/3/library/unittest.html?highlight=assertraisesregex#unittest.TestCase.assertRaisesRegex).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20069>
_______________________________________
More information about the Python-bugs-list
mailing list