Commits

Antoine Pitrou committed 94d280d

Fix tests for Windows

Comments (0)

Files changed (1)

         self.assertIs(True, p.exists())
         self.assertIs(True, p['dirA'].exists())
         self.assertIs(True, p['fileA'].exists())
-        self.assertIs(True, p['linkA'].exists())
-        self.assertIs(True, p['linkB'].exists())
+        if not symlink_skip_reason:
+            self.assertIs(True, p['linkA'].exists())
+            self.assertIs(True, p['linkB'].exists())
         self.assertIs(False, p['foo'].exists())
         self.assertIs(False, P('/xyzzy').exists())