Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9b05ec

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

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 wherewe do notfix them."""
61+
"""Context manager to test permission errors in situations wherethey are notovercome."""
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)

[8]ページ先頭

©2009-2025 Movatter.jp