Author vstinner
Recipients vstinner
Date 2017-06-30.09:50:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498816228.35.0.729692699149.issue30813@psf.upfronthosting.co.za>
In-reply-to
Content
Example of Python 3.5 (same error on master):

haypo@selma$ ./python -m test -R 3:3 -v test_unittest 
(...)
======================================================================
ERROR: test_discover_with_init_module_that_raises_SkipTest_on_import (unittest.test.test_discovery.TestDiscovery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/haypo/prog/python/3.5/Lib/unittest/test/test_discovery.py", line 572, in test_discover_with_init_module_that_raises_SkipTest_on_import
    pickle.loads(pickle.dumps(suite, proto))
_pickle.PicklingError: Can't pickle <class 'unittest.loader.ModuleSkipped'>: attribute lookup ModuleSkipped on unittest.loader failed

======================================================================
ERROR: test_discover_with_module_that_raises_SkipTest_on_import (unittest.test.test_discovery.TestDiscovery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/haypo/prog/python/3.5/Lib/unittest/test/test_discovery.py", line 548, in test_discover_with_module_that_raises_SkipTest_on_import
    pickle.loads(pickle.dumps(suite, proto))
_pickle.PicklingError: Can't pickle <class 'unittest.loader.ModuleSkipped'>: attribute lookup ModuleSkipped on unittest.loader failed
History
Date User Action Args
2017-06-30 09:50:28vstinnersetrecipients: + vstinner
2017-06-30 09:50:28vstinnersetmessageid: <1498816228.35.0.729692699149.issue30813@psf.upfronthosting.co.za>
2017-06-30 09:50:28vstinnerlinkissue30813 messages
2017-06-30 09:50:28vstinnercreate