bpo-24329: allow __qualname__ and __classcell__ in __slots__ by zhangyangyu · Pull Request #495 · python/cpython
|
|
||
| def test_slots_special2(self): | ||
| # Testing __qualname__ and __classcell__ in __slots__ | ||
| from types import MemberDescriptorType as Member |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just import types on top of test_descr.py?
1st1 approved these changes Mar 7, 2017
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please fix the import in the tests and merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters