Skip to content

Commit d38d1a3

Browse files
authored
Move the comment to the docstring.
1 parent a0339c1 commit d38d1a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

distutils/tests/test_msvccompiler.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ def _find_vcvarsall(plat_spec):
4343
],
4444
)
4545
def test_cross_platform_compilation_paths(self, monkeypatch, plat_name, expected):
46+
"""
47+
Ensure a specified target platform is passed to _get_vcvars_spec.
48+
"""
4649
compiler = _msvccompiler.MSVCCompiler()
4750

48-
# makes sure that the right target platform name is used
4951
def _get_vcvars_spec(host_platform, platform):
5052
assert platform == expected
5153

0 commit comments

Comments
 (0)