tests/test-symlink-os-yes-fs-no.py
changeset 43076 2372284d9457
parent 37935 630429dcc397
child 48875 6000f5b25c9b
--- a/tests/test-symlink-os-yes-fs-no.py	Sat Oct 05 10:29:34 2019 -0400
+++ b/tests/test-symlink-os-yes-fs-no.py	Sun Oct 06 09:45:02 2019 -0400
@@ -16,7 +16,7 @@
 
 # only makes sense to test on os which supports symlinks
 if not getattr(os, "symlink", False):
-    sys.exit(80) # SKIPPED_STATUS defined in run-tests.py
+    sys.exit(80)  # SKIPPED_STATUS defined in run-tests.py
 
 u = uimod.ui.load()
 # hide outer repo
@@ -36,9 +36,15 @@
 # non-symlink file system
 def symlink_failure(src, dst):
     raise OSError(1, "Operation not permitted")
+
+
 os.symlink = symlink_failure
+
+
 def islink_failure(path):
     return False
+
+
 os.path.islink = islink_failure
 
 # dereference links as if a Samba server has exported this to a