add another MAXSIZE test
diff --git a/test_six.py b/test_six.py
index fa88b18..cc0cfdc 100644
--- a/test_six.py
+++ b/test_six.py
@@ -53,6 +53,12 @@
 
 
 def test_MAXSIZE():
+    try:
+        # This shouldn't raise an overflow error.
+        six.MAXSIZE.__index__()
+    except AttributeError:
+        # Before Python 2.6.
+        pass
     py.test.raises(OverflowError, operator.mul, [None], six.MAXSIZE + 1)