Skip to content

Commit a9b05ec

Browse files
committed
Clarify a test helper docstring
The wording was ambiguous before, because fixing a PermissionError could mean addressing it successfully at runtime (which is the intended meaning in that docstring) but it could also mean fixing a bug or test case related to such an error (not intended).
1 parent f0e15e8 commit a9b05ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/test_util.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __repr__(self):
5858

5959
@contextlib.contextmanager
6060
def_tmpdir_to_force_permission_error():
61-
"""Context manager to test permission errors in situations where we do not fix them."""
61+
"""Context manager to test permission errors in situations where they are not overcome."""
6262
ifsys.platform=="cygwin":
6363
raiseSkipTest("Cygwin can't set the permissions that make the test meaningful.")
6464
ifsys.version_info< (3, 8):

0 commit comments

Comments
(0)