Message188948
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 |
|
Date |
User |
Action |
Args |
2013-05-11 19:11:30 | eli.bendersky | set | recipients:
+ eli.bendersky, gvanrossum, barry, ncoghlan, ezio.melotti, alex, docs@python, ethan.furman, zach.ware |
2013-05-11 19:11:30 | eli.bendersky | set | messageid: <1368299490.03.0.339200892123.issue17947@psf.upfronthosting.co.za> |
2013-05-11 19:11:30 | eli.bendersky | link | issue17947 messages |
2013-05-11 19:11:29 | eli.bendersky | create | |
|