diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-07-04 03:01:33 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-07-04 03:01:33 (GMT) |
commit | 2b33045843fc50d752afd4c09a904d52dbd71f22 (patch) | |
tree | 277baeab349520fadeecbebbc6908abbab009d85 /Lib/distutils/tests | |
parent | 35c88a8f38f4aee3916c497ded339981de249703 (diff) | |
download | cpython-2b33045843fc50d752afd4c09a904d52dbd71f22.zip cpython-2b33045843fc50d752afd4c09a904d52dbd71f22.tar.gz cpython-2b33045843fc50d752afd4c09a904d52dbd71f22.tar.bz2 |
Merged revisions 73835 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r73835 | tarek.ziade | 2009-07-04 05:00:50 +0200 (Sat, 04 Jul 2009) | 9 lines
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.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Lib/distutils/tests/test_dist.py b/Lib/distutils/tests/test_dist.py index 16ef68e..4076039 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) |