##// END OF EJS Templates
fix rehashx on macos
Matthias Bussonnier -
Show More
@@ -55,7 +55,11 b' class OSMagics(Magics):'
55 """
55 """
56 Test for executible on a POSIX system
56 Test for executible on a POSIX system
57 """
57 """
58 return file.is_file() and os.access(file.path, os.X_OK)
58 if os.access(file.path, os.X_OK):
59 # will fail on maxOS if access is not X_OK
60 return file.is_file()
61 return False
62
59
63
60
64
61 @skip_doctest
65 @skip_doctest
General Comments 0
You need to be logged in to leave comments. Login now