bend another test for 3.3 support, though this time it's just pypy3.3

This commit is contained in:
Mahmoud Hashemi 2017-01-22 19:52:53 -08:00
parent 8b92881489
commit 3a0ca88dca
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def mro_items(type_obj):
"""Takes a type and returns an iterator over all class variables
throughout the type hierarchy (respecting the MRO).
>>> sorted(set([k for k, v in mro_items(int) if not k.startswith('__') and not callable(v)]))
>>> sorted(set([k for k, v in mro_items(int) if not k.startswith('__') and 'bytes' not in k and not callable(v)]))
['denominator', 'imag', 'numerator', 'real']
"""
# TODO: handle slots?