Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
c9bc9d98
Commit
c9bc9d98
authored
Sep 13, 2010
by
Hirokazu Yamamoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_build_version() is needed even where sys.platform != "win32".
Try to fix buildbot error in other way.
parent
50e74d1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
tests/test_msvc9compiler.py
tests/test_msvc9compiler.py
+8
-4
No files found.
tests/test_msvc9compiler.py
View file @
c9bc9d98
...
@@ -62,10 +62,14 @@ _CLEANED_MANIFEST = """\
...
@@ -62,10 +62,14 @@ _CLEANED_MANIFEST = """\
if
sys
.
platform
==
"win32"
:
if
sys
.
platform
==
"win32"
:
from
distutils.msvccompiler
import
get_build_version
from
distutils.msvccompiler
import
get_build_version
if
get_build_version
()
>=
8.0
:
@
unittest
.
skipUnless
(
sys
.
platform
==
"win32"
,
"These tests are only for win32"
)
SKIP_MESSAGE
=
None
@
unittest
.
skipUnless
(
get_build_version
()
>=
8.0
,
"These tests are only for"
else
:
" MSVC8.0 or above"
)
SKIP_MESSAGE
=
"These tests are only for MSVC8.0 or above"
else
:
SKIP_MESSAGE
=
"These tests are only for win32"
@
unittest
.
skipUnless
(
SKIP_MESSAGE
is
None
,
SKIP_MESSAGE
)
class
msvc9compilerTestCase
(
support
.
TempdirManager
,
class
msvc9compilerTestCase
(
support
.
TempdirManager
,
unittest
.
TestCase
):
unittest
.
TestCase
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment