Skip to content

Commit

Permalink
Fix tests for get_msvcr function
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen521kk committed Oct 8, 2022
1 parent fc6ed05 commit c19bcd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distutils/tests/test_cygwinccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ def test_check_config_h(self):

def test_get_msvcr(self):

# none
# []
sys.version = (
'2.6.1 (r261:67515, Dec 6 2008, 16:42:21) '
'\n[GCC 4.0.1 (Apple Computer, Inc. build 5370)]'
)
assert get_msvcr() is None
assert get_msvcr() == []

# MSVC 7.0
sys.version = (
Expand Down

0 comments on commit c19bcd5

Please sign in to comment.