summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-06-20 04:18:15 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-06-20 04:18:15 (GMT)
commite3ae655edfea3dd8ed32fcca63cb3eae861a58b7 (patch)
treeb1624452b23a4e614e103735dbe7e2a581b159bc /Lib/test/test_sys.py
parente0f124495b0c0d7826ef1e64a8db27ebe28ed085 (diff)
downloadcpython-e3ae655edfea3dd8ed32fcca63cb3eae861a58b7.zip
cpython-e3ae655edfea3dd8ed32fcca63cb3eae861a58b7.tar.gz
cpython-e3ae655edfea3dd8ed32fcca63cb3eae861a58b7.tar.bz2
Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index f1fb615..c98117a 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -523,7 +523,7 @@ class SizeofTest(unittest.TestCase):
len_typeobject = p + 2*l + 15*p + l + 4*p + l + 9*p +\
l + 11*p + self.align(4)
self.check_sizeof(class_newstyle,
- h + len_typeobject + 41*p + 10*p + 3*p + 6*p)
+ h + len_typeobject + 42*p + 10*p + 3*p + 6*p)
def test_specialtypes(self):
i = self.i