[issue28668] instanciation of multiprocessing.Queue raises ImportError in test_logging

Xavier de Gaye report at bugs.python.org
Sat Nov 12 05:46:29 EST 2016


Xavier de Gaye added the comment:

When the test is to be skipped:
  * The decorator in the previous patch (a decorator with arguments that takes no argument) returns a decorator which is unittest.skip (to be applied to the test method).
  * On the other side, the skip_unless_symlink decorator pattern (no argument) applies the unittest.skip decorator to the test method and returns the decorated test method.
This new patch uses the second method suggested by Serhiy.

----------
Added file: http://bugs.python.org/file45458/test_multiprocessing_queue_2.patch

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


More information about the Python-bugs-list mailing list