File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1156,16 +1156,6 @@ def test_is_reserved(self):
11561156 # UNC paths are never reserved
11571157 self .assertIs (False , P ('//my/share/nul/con/aux' ).is_reserved ())
11581158
1159- def test_owner (self ):
1160- P = self .cls
1161- with self .assertRaises (NotImplementedError ):
1162- P ('c:/' ).owner ()
1163-
1164- def test_group (self ):
1165- P = self .cls
1166- with self .assertRaises (NotImplementedError ):
1167- P ('c:/' ).group ()
1168-
11691159class PurePathTest (_BasePurePathTest , unittest .TestCase ):
11701160 cls = pathlib .PurePath
11711161
@@ -1229,6 +1219,16 @@ class PosixPathAsPureTest(PurePosixPathTest):
12291219class WindowsPathAsPureTest (PureWindowsPathTest ):
12301220 cls = pathlib .WindowsPath
12311221
1222+ def test_owner (self ):
1223+ P = self .cls
1224+ with self .assertRaises (NotImplementedError ):
1225+ P ('c:/' ).owner ()
1226+
1227+ def test_group (self ):
1228+ P = self .cls
1229+ with self .assertRaises (NotImplementedError ):
1230+ P ('c:/' ).group ()
1231+
12321232
12331233class _BasePathTest (object ):
12341234 """Tests for the FS-accessing functionalities of the Path classes."""
You can’t perform that action at this time.
0 commit comments