Commit a04b39b2 authored by Victor Stinner's avatar Victor Stinner

Close #13401: Skip TestFileTypeW of test_argparse if the current user is root

Patch written by Arfrever Frehtes Taifersar Arahesis.
parent 8d40f16a
......@@ -1502,6 +1502,8 @@ class WFile(object):
return self.name == other.name
@unittest.skipIf(hasattr(os, 'geteuid') and os.geteuid() == 0,
"non-root user required")
class TestFileTypeW(TempDirMixin, ParserTestCase):
"""Test the FileType option/argument type for writing files"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment