Skip to content

Commit e4e1687

Browse files
committed
Add test for dll_libraries attribute in CygwinCCompiler class
1 parent 79830a8 commit e4e1687

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

distutils/tests/test_cygwinccompiler.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,10 @@ def test_get_msvcr(self):
114114
)
115115
with pytest.raises(ValueError):
116116
get_msvcr()
117+
118+
@pytest.mark.skipif('sys.platform != "cygwin"')
119+
def test_dll_libraries_not_none(self):
120+
from distutils.cygwinccompiler import CygwinCCompiler
121+
122+
compiler = CygwinCCompiler()
123+
assert compiler.dll_libraries is not None

0 commit comments

Comments
 (0)