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
eea5ca2f
Commit
eea5ca2f
authored
Feb 06, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing import when running these tests standalone.
parent
6093446e
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
11 deletions
+22
-11
tests/test_bdist.py
tests/test_bdist.py
+3
-1
tests/test_bdist_dumb.py
tests/test_bdist_dumb.py
+3
-1
tests/test_bdist_msi.py
tests/test_bdist_msi.py
+3
-1
tests/test_bdist_rpm.py
tests/test_bdist_rpm.py
+3
-1
tests/test_bdist_wininst.py
tests/test_bdist_wininst.py
+3
-1
tests/test_cmd.py
tests/test_cmd.py
+2
-2
tests/test_cygwinccompiler.py
tests/test_cygwinccompiler.py
+2
-2
tests/test_emxccompiler.py
tests/test_emxccompiler.py
+2
-2
tests/test_sysconfig.py
tests/test_sysconfig.py
+1
-0
No files found.
tests/test_bdist.py
View file @
eea5ca2f
...
...
@@ -5,6 +5,8 @@ import os
import
tempfile
import
shutil
from
test.test_support
import
run_unittest
from
distutils.core
import
Distribution
from
distutils.command.bdist
import
bdist
from
distutils.tests
import
support
...
...
@@ -40,4 +42,4 @@ def test_suite():
return
unittest
.
makeSuite
(
BuildTestCase
)
if
__name__
==
'__main__'
:
test_support
.
run_unittest
(
test_suite
())
run_unittest
(
test_suite
())
tests/test_bdist_dumb.py
View file @
eea5ca2f
...
...
@@ -11,6 +11,8 @@ try:
except
ImportError
:
zlib
=
None
from
test.test_support
import
run_unittest
from
distutils.core
import
Distribution
from
distutils.command.bdist_dumb
import
bdist_dumb
from
distutils.tests
import
support
...
...
@@ -100,4 +102,4 @@ def test_suite():
return
unittest
.
makeSuite
(
BuildDumbTestCase
)
if
__name__
==
'__main__'
:
test_support
.
run_unittest
(
test_suite
())
run_unittest
(
test_suite
())
tests/test_bdist_msi.py
View file @
eea5ca2f
...
...
@@ -2,6 +2,8 @@
import
unittest
import
sys
from
test.test_support
import
run_unittest
from
distutils.tests
import
support
@
unittest
.
skipUnless
(
sys
.
platform
==
"win32"
,
"These tests are only for win32"
)
...
...
@@ -20,4 +22,4 @@ def test_suite():
return
unittest
.
makeSuite
(
BDistMSITestCase
)
if
__name__
==
'__main__'
:
test_support
.
run_unittest
(
test_suite
())
run_unittest
(
test_suite
())
tests/test_bdist_rpm.py
View file @
eea5ca2f
...
...
@@ -6,6 +6,8 @@ import os
import
tempfile
import
shutil
from
test.test_support
import
run_unittest
from
distutils.core
import
Distribution
from
distutils.command.bdist_rpm
import
bdist_rpm
from
distutils.tests
import
support
...
...
@@ -122,4 +124,4 @@ def test_suite():
return
unittest
.
makeSuite
(
BuildRpmTestCase
)
if
__name__
==
'__main__'
:
test_support
.
run_unittest
(
test_suite
())
run_unittest
(
test_suite
())
tests/test_bdist_wininst.py
View file @
eea5ca2f
"""Tests for distutils.command.bdist_wininst."""
import
unittest
from
test.test_support
import
run_unittest
from
distutils.command.bdist_wininst
import
bdist_wininst
from
distutils.tests
import
support
...
...
@@ -27,4 +29,4 @@ def test_suite():
return
unittest
.
makeSuite
(
BuildWinInstTestCase
)
if
__name__
==
'__main__'
:
test_support
.
run_unittest
(
test_suite
())
run_unittest
(
test_suite
())
tests/test_cmd.py
View file @
eea5ca2f
"""Tests for distutils.cmd."""
import
unittest
import
os
from
test.test_support
import
captured_stdout
from
test.test_support
import
captured_stdout
,
run_unittest
from
distutils.cmd
import
Command
from
distutils.dist
import
Distribution
...
...
@@ -124,4 +124,4 @@ def test_suite():
return
unittest
.
makeSuite
(
CommandTestCase
)
if
__name__
==
'__main__'
:
test_support
.
run_unittest
(
test_suite
())
run_unittest
(
test_suite
())
tests/test_cygwinccompiler.py
View file @
eea5ca2f
...
...
@@ -5,7 +5,7 @@ import os
import
warnings
import
sysconfig
from
test.test_support
import
check_warnings
from
test.test_support
import
check_warnings
,
run_unittest
from
test.test_support
import
captured_stdout
from
distutils
import
cygwinccompiler
...
...
@@ -108,4 +108,4 @@ def test_suite():
return
unittest
.
makeSuite
(
CygwinCCompilerTestCase
)
if
__name__
==
'__main__'
:
test_support
.
run_unittest
(
test_suite
())
run_unittest
(
test_suite
())
tests/test_emxccompiler.py
View file @
eea5ca2f
...
...
@@ -4,7 +4,7 @@ import sys
import
os
import
warnings
from
test.test_support
import
check_warnings
from
test.test_support
import
check_warnings
,
run_unittest
from
test.test_support
import
captured_stdout
from
distutils.emxccompiler
import
get_versions
...
...
@@ -30,4 +30,4 @@ def test_suite():
return
unittest
.
makeSuite
(
EmxCCompilerTestCase
)
if
__name__
==
'__main__'
:
test_support
.
run_unittest
(
test_suite
())
run_unittest
(
test_suite
())
tests/test_sysconfig.py
View file @
eea5ca2f
...
...
@@ -2,6 +2,7 @@
import
os
import
test
import
unittest
import
shutil
from
distutils
import
sysconfig
from
distutils.tests
import
support
...
...
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