summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_genericpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_genericpath.py')
-rw-r--r--Lib/test/test_genericpath.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_genericpath.py b/Lib/test/test_genericpath.py
index 4f311c2..bdfc5bf 100644
--- a/Lib/test/test_genericpath.py
+++ b/Lib/test/test_genericpath.py
@@ -135,6 +135,10 @@ class GenericTest:
self.assertIs(self.pathmodule.exists(filename), False)
self.assertIs(self.pathmodule.exists(bfilename), False)
+ if self.pathmodule is not genericpath:
+ self.assertIs(self.pathmodule.lexists(filename), False)
+ self.assertIs(self.pathmodule.lexists(bfilename), False)
+
create_file(filename)
self.assertIs(self.pathmodule.exists(filename), True)