summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-07-04 03:00:50 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-07-04 03:00:50 (GMT)
commit0d3fa833a1a12fcff34541c4a024544b40debf98 (patch)
tree21d6c97d4ac99d7546fc227aaf006be1d1d2126d /Lib/distutils/tests
parentd06fa47b2417c8dc2649db661961548d6e6a57e2 (diff)
downloadcpython-0d3fa833a1a12fcff34541c4a024544b40debf98.zip
cpython-0d3fa833a1a12fcff34541c4a024544b40debf98.tar.gz
cpython-0d3fa833a1a12fcff34541c4a024544b40debf98.tar.bz2
Merged revisions 73834 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r73834 | tarek.ziade | 2009-07-04 04:59:19 +0200 (Sat, 04 Jul 2009) | 1 line using print statements when used for user interaction ........
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r--Lib/distutils/tests/test_dist.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/Lib/distutils/tests/test_dist.py b/Lib/distutils/tests/test_dist.py
index c031cb8..9f795f4 100644
--- a/Lib/distutils/tests/test_dist.py
+++ b/Lib/distutils/tests/test_dist.py
@@ -136,24 +136,6 @@ class DistributionTestCase(support.LoggingSilencer,
self.assertEquals(dist.metadata.platforms, ['one', 'two'])
self.assertEquals(dist.metadata.keywords, ['one', 'two'])
- def test_show_help(self):
- class FancyGetopt(object):
- def __init__(self):
- self.count = 0
-
- def set_option_table(self, *args):
- pass
-
- def print_help(self, *args):
- self.count += 1
-
- parser = FancyGetopt()
- dist = Distribution()
- dist.commands = ['sdist']
- dist.script_name = 'setup.py'
- dist._show_help(parser)
- self.assertEquals(parser.count, 3)
-
def test_get_command_packages(self):
dist = Distribution()
self.assertEquals(dist.command_packages, None)