Source: enum34
Version: 0.9.19-1
Severity: important
User: [email protected]
Usertag: python3.4

Dear Maintainer,

When built with Python 3.4 as supported version, two of enum34 tests fail:

======================================================================
ERROR: test_subclasses_with_getnewargs (enum.test_enum.TestEnum)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dmitry/Downloads/enum34-0.9.19/enum/test_enum.py", line 901, in 
test_subclasses_with_getnewargs
    self.assertEqual(loads(dumps(NI5, protocol=HIGHEST_PROTOCOL)), 5)
_pickle.PicklingError: Can't pickle <class 
'enum.test_enum.TestEnum.test_subclasses_with_getnewargs.<locals>.NamedInt'>: 
attribute lookup TestEnum.test_subclasses_with_getnewargs.<locals>.NamedInt on 
enum.test_enum failed

======================================================================
ERROR: test_tuple_subclass (enum.test_enum.TestEnum)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dmitry/Downloads/enum34-0.9.19/enum/test_enum.py", line 979, in 
test_tuple_subclass
    self.assertTrue(loads(dumps(SomeTuple.first, protocol=HIGHEST_PROTOCOL)) is 
SomeTuple.first)
_pickle.PicklingError: Can't pickle <enum 'SomeTuple'>: attribute lookup 
TestEnum.test_tuple_subclass.<locals>.SomeTuple on enum.test_enum failed

If this is not a real code bug, then you may want to set X-Python3-Version to 
<< 3.4.

--
Dmitry Shachnev

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to