From 3a0ca88dca4d3e9409eb2f7d97a08a799f861f7d Mon Sep 17 00:00:00 2001 From: Mahmoud Hashemi Date: Sun, 22 Jan 2017 19:52:53 -0800 Subject: [PATCH] bend another test for 3.3 support, though this time it's just pypy3.3 --- boltons/funcutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boltons/funcutils.py b/boltons/funcutils.py index f44cc5e..c3a11c6 100644 --- a/boltons/funcutils.py +++ b/boltons/funcutils.py @@ -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?