Author: Armin Rigo <ar...@tunes.org> Branch: py3.5 Changeset: r89423:2e6e0d9eba8a Date: 2017-01-08 17:06 +0100 http://bitbucket.org/pypy/pypy/changeset/2e6e0d9eba8a/
Log: fix test diff --git a/lib-python/3/test/test_decimal.py b/lib-python/3/test/test_decimal.py --- a/lib-python/3/test/test_decimal.py +++ b/lib-python/3/test/test_decimal.py @@ -4185,7 +4185,9 @@ x = [s for s in dir(C.Context()) if '__' in s or not s.startswith('_')] y = [s for s in dir(P.Context()) if '__' in s or not s.startswith('_')] - self.assertEqual(set(x) - set(y), set()) + extra = set(x) - set(y) + extra.discard('__slots__') + self.assertEqual(extra, set()) def test_decimal_attributes(self): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit