[issue7772] test_py3kwarn fails when running the whole test suite

Mark Dickinson report at bugs.python.org
Sat Apr 3 21:03:49 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

This still seems to be an issue for OS X.  With the current trunk (r79716), I get:

Mark-Dickinsons-MacBook-Pro:trunk dickinsm$ ./python.exe -3 ./Lib/test/regrtest.py test_macostools test_py3kwarn
test_macostools
/Users/dickinsm/python/svn/trunk/Lib/importlib/__init__.py:37: DeprecationWarning: In 3.x, the MacOS module is removed.
  __import__(name)
/Users/dickinsm/python/svn/trunk/Lib/test/test_macostools.py:10: DeprecationWarning: In 3.x, the Carbon package is removed.
  import Carbon.File
/Users/dickinsm/python/svn/trunk/Lib/test/test_macostools.py:11: DeprecationWarning: In 3.x, the macostools module is removed.
  import macostools
test_py3kwarn
test test_py3kwarn failed -- Traceback (most recent call last):
  File "/Users/dickinsm/python/svn/trunk/Lib/test/test_py3kwarn.py", line 387, in test_platform_specific_removals
    self.check_removal(module_name, optional=True)
  File "/Users/dickinsm/python/svn/trunk/Lib/test/test_py3kwarn.py", line 376, in check_removal
    .format(module_name))
AssertionError: DeprecationWarning not raised for MacOS

1 test OK.
1 test failed:
    test_py3kwarn
[40996 refs]

----------
nosy: +mark.dickinson
status: closed -> open

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


More information about the Python-bugs-list mailing list