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
if sys.platform == "cygwin":
6363
raise SkipTest("Cygwin can't set the permissions that make the test meaningful.")
6464
if sys.version_info < (3, 8):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy