Commits

dsyzling  committed 8f8339f

testutils: ignore permission denied when removing files on windows

  • Participants
  • Parent commits d70dc51

Comments (0)

Files changed (1)

File ropetest/testutils.py

             try:
                 _remove_recursively(path)
             except exception, e:
-                if isinstance(e, OSError) and e.errno != 16:
+                if isinstance(e, OSError) and e.errno in (13, 16):
                     raise
                 time.sleep(0.3)
             else: