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

Commit19b3c08

Browse files
committed
Clarify comment about is_<platform> value assertions
1 parent488cc13 commit19b3c08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎test/deprecation/test_compat.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ def test_is_platform() -> None:
5353
forfullname,messageinzip(fully_qualified_names,messages):
5454
assertmessage.startswith(_MESSAGE_LEADER.format(fullname))
5555

56-
# These exactly reproduce the expressions in the code under test, so they are not
57-
# good for testing that the values are correct. Instead,the purposeof this test is
58-
#toensure that any dynamic machinery put in place in git.compat to cause warnings
59-
#tobe issued does not get in the way of the intended values being accessed.
56+
# Theseassertionsexactly reproduce the expressions in the code under test, so they
57+
#are notgood for testing that the values are correct. Instead,their purposeis to
58+
# ensure that any dynamic machinery put in place in git.compat to cause warnings to
59+
# be issued does not get in the way of the intended values being accessed.
6060
assertis_win== (os.name=="nt")
6161
assertis_posix== (os.name=="posix")
6262
assertis_darwin== (sys.platform=="darwin")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp