[issue12659] Add tests for packaging.tests.support

Francisco Martín Brugué report at bugs.python.org
Tue Feb 7 00:01:17 CET 2012


Francisco Martín Brugué <francismb at email.de> added the comment:

I've just updated “test_support.py” and tested against 'default'
and 'distutils2' (after changing the imports).

Just let me know what has to be changed ...


BTW: in distutils2 I get (not because of this change):

======================================================================
FAIL: test_bad_urls (distutils2.tests.test_pypi_simple.SimpleCrawlerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ci/prog/cpython/distutils2/distutils2/tests/pypi_server.py", line 68, in wrapped
    func(server=server, *args, **kwargs)
  File "/home/ci/prog/cpython/distutils2/distutils2/tests/test_pypi_simple.py", line 93, in test_bad_urls
    self.assertIn(wanted, str(v))
AssertionError: 'nonnumeric port' not found in 'Download error for http://http://svn.pythonpaste.org/Paste/wphp/trunk: [Errno -2] Name or service not known'

----------------------------------------------------------------------
 
Cheers,
francis

----------
Added file: http://bugs.python.org/file24440/test_support_v2.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12659>
_______________________________________


More information about the Python-bugs-list mailing list