cpython: b58b58948c27 (original) (raw)

Mercurial > cpython

changeset 87559:b58b58948c27

Issue #19742: fix a test_pathlib failure when a file owner or group isn't in the system database [#19742]

Antoine Pitrou solipsis@pitrou.net
date Mon, 25 Nov 2013 19:51:53 +0100
parents f4de1c5e381d
children f8ac01a762c1
files Lib/test/test_pathlib.py
diffstat 1 files changed, 10 insertions(+), 2 deletions(-)[+] [-] Lib/test/test_pathlib.py 12

line wrap: on

line diff

--- a/Lib/test/test_pathlib.py +++ b/Lib/test/test_pathlib.py @@ -1322,14 +1322,22 @@ class _BasePathTest(object): def test_owner(self): p = self.cls(BASE) / 'fileA' uid = p.stat().st_uid

@unittest.skipUnless(grp, "the grp module is needed for this test") def test_group(self): p = self.cls(BASE) / 'fileA' gid = p.stat().st_gid

def test_unlink(self):