| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 488cc13 commit 19b3c08
1 file 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") | |
| Back | FazBrowse Home | New Git URL |
0 commit comments