Author eli.bendersky
Recipients alex, barry, docs@python, eli.bendersky, ethan.furman, ezio.melotti, gvanrossum, ncoghlan, zach.ware
Date 2013-05-11.19:11:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368299490.03.0.339200892123.issue17947@psf.upfronthosting.co.za>
In-reply-to
Content
Also, your test must run within the regrtest framework. Currently I get:

./python -mtest.regrtest test_enum
[1/1] test_enum
test test_enum failed -- Traceback (most recent call last):
  File "/home/eliben/python-src/default/Lib/test/test_enum.py", line 245, in test_pickle_enum_function_with_module
    self.assertIs(Question.who, loads(dumps(Question.who)))
_pickle.PicklingError: Can't pickle <enum 'Question'>: attribute lookup __main__.Question failed

1 test failed:
    test_enum
History
Date User Action Args
2013-05-11 19:11:30eli.benderskysetrecipients: + eli.bendersky, gvanrossum, barry, ncoghlan, ezio.melotti, alex, docs@python, ethan.furman, zach.ware
2013-05-11 19:11:30eli.benderskysetmessageid: <1368299490.03.0.339200892123.issue17947@psf.upfronthosting.co.za>
2013-05-11 19:11:30eli.benderskylinkissue17947 messages
2013-05-11 19:11:29eli.benderskycreate