summaryrefslogtreecommitdiff
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2016-06-04 12:49:35 -0700
committerEthan Furman <ethan@stoneleaf.us>2016-06-04 12:49:35 -0700
commit958b3e40581af8577c7213992d502786f87ec173 (patch)
tree56c5f576f464209721f45478a2fbca42e1ec2e87 /Lib/test/test_os.py
parent8bc9378c98e0dab872e41c59e1cb00c0fab1a146 (diff)
downloadcpython-git-958b3e40581af8577c7213992d502786f87ec173.tar.gz
issue27186: add PathLike ABC
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index bf06438db2..e740edf644 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -3127,6 +3127,8 @@ class TestPEP519(unittest.TestCase):
return '#feelthegil'
self.assertEqual('#feelthegil', os.fspath(PathLike()))
+ self.assertTrue(issubclass(PathLike, os.PathLike))
+ self.assertTrue(isinstance(PathLike(), os.PathLike))
def test_garbage_in_exception_out(self):
vapor = type('blah', (), {})