Content-Length: 261194 | pFad | http://github.com/gitpython-developers/GitPython/commit/a9b05ece674578d3417f8969ade17b06ab287ffe

84 Clarify a test helper docstring · gitpython-developers/GitPython@a9b05ec · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/gitpython-developers/GitPython/commit/a9b05ece674578d3417f8969ade17b06ab287ffe

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy