File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ def test_is_platform() -> None:
53
53
for fullname , message in zip (fully_qualified_names , messages ):
54
54
assert message .startswith (_MESSAGE_LEADER .format (fullname ))
55
55
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 purpose of this test is
58
- # to ensure that any dynamic machinery put in place in git.compat to cause warnings
59
- # to be issued does not get in the way of the intended values being accessed.
56
+ # These assertions exactly reproduce the expressions in the code under test, so they
57
+ # are not good for testing that the values are correct. Instead, their purpose is 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.
60
60
assert is_win == (os .name == "nt" )
61
61
assert is_posix == (os .name == "posix" )
62
62
assert is_darwin == (sys .platform == "darwin" )
You can’t perform that action at this time.
0 commit comments