Author xiang.zhang
Recipients ezio.melotti, michael.foord, rbcollins, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-08-20.13:43:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471700629.21.0.956221614755.issue25746@psf.upfronthosting.co.za>
In-reply-to
Content
Simple reproduction:

>>> pickle.dumps(unittest.loader._make_skipped_test('hello', RuntimeError, unittest.suite.TestSuite))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
_pickle.PicklingError: Can't pickle <class 'unittest.loader.ModuleSkipped'>: attribute lookup ModuleSkipped on unittest.loader failed

Exporting ModuleSkipped in unittest.loader can solve this. But maybe any more elegant method?
History
Date User Action Args
2016-08-20 13:43:49xiang.zhangsetrecipients: + xiang.zhang, vstinner, rbcollins, ezio.melotti, michael.foord, serhiy.storchaka
2016-08-20 13:43:49xiang.zhangsetmessageid: <1471700629.21.0.956221614755.issue25746@psf.upfronthosting.co.za>
2016-08-20 13:43:49xiang.zhanglinkissue25746 messages
2016-08-20 13:43:49xiang.zhangcreate