diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-11 21:53:15 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-11 21:53:15 (GMT) |
commit | 25caed546d1741063b3d4dce505d0d590fd473e3 (patch) | |
tree | 7506deb6dcab057569fe18effcf7e1095248eb57 | |
parent | 474ebbbe50ea3247ad120324874b8b32d5fa550d (diff) | |
parent | d7569637b53d457423d47e83bd9ec35ce1aba772 (diff) | |
download | cpython-25caed546d1741063b3d4dce505d0d590fd473e3.zip cpython-25caed546d1741063b3d4dce505d0d590fd473e3.tar.gz cpython-25caed546d1741063b3d4dce505d0d590fd473e3.tar.bz2 |
Merge 3.5
-rw-r--r-- | Lib/test/test_pathlib.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py index 451e41f..7465c61 100644 --- a/Lib/test/test_pathlib.py +++ b/Lib/test/test_pathlib.py @@ -1156,16 +1156,6 @@ class PureWindowsPathTest(_BasePurePathTest, unittest.TestCase): # UNC paths are never reserved self.assertIs(False, P('//my/share/nul/con/aux').is_reserved()) - def test_owner(self): - P = self.cls - with self.assertRaises(NotImplementedError): - P('c:/').owner() - - def test_group(self): - P = self.cls - with self.assertRaises(NotImplementedError): - P('c:/').group() - class PurePathTest(_BasePurePathTest, unittest.TestCase): cls = pathlib.PurePath @@ -1229,6 +1219,16 @@ class PosixPathAsPureTest(PurePosixPathTest): class WindowsPathAsPureTest(PureWindowsPathTest): cls = pathlib.WindowsPath + def test_owner(self): + P = self.cls + with self.assertRaises(NotImplementedError): + P('c:/').owner() + + def test_group(self): + P = self.cls + with self.assertRaises(NotImplementedError): + P('c:/').group() + class _BasePathTest(object): """Tests for the FS-accessing functionalities of the Path classes.""" |