##// END OF EJS Templates
Interpret another error as missing symlink support on Windows...
Thomas Kluyver -
Show More
@@ -144,7 +144,10 b' def test_atomic_writing():'
144 try:
144 try:
145 os.symlink(f1, f2)
145 os.symlink(f1, f2)
146 have_symlink = True
146 have_symlink = True
147 except (AttributeError, NotImplementedError):
147 except (AttributeError, NotImplementedError, OSError):
148 # AttributeError: Python doesn't support it
149 # NotImplementedError: The system doesn't support it
150 # OSError: The user lacks the privilege (Windows)
148 have_symlink = False
151 have_symlink = False
149
152
150 with nt.assert_raises(CustomExc):
153 with nt.assert_raises(CustomExc):
General Comments 0
You need to be logged in to leave comments. Login now