Show More
@@ -144,7 +144,10 b' def test_atomic_writing():' | |||
|
144 | 144 | try: |
|
145 | 145 | os.symlink(f1, f2) |
|
146 | 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 | 151 | have_symlink = False |
|
149 | 152 | |
|
150 | 153 | with nt.assert_raises(CustomExc): |
General Comments 0
You need to be logged in to leave comments.
Login now