summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BROKEN_TESTS3
-rw-r--r--Modules/cPickle.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/BROKEN_TESTS b/BROKEN_TESTS
index f45d333..8814591 100644
--- a/BROKEN_TESTS
+++ b/BROKEN_TESTS
@@ -1,4 +1,3 @@
-test_descr -- can't pickle int objects?!?!
-test_pickletools -- ???
+test_pickletools -- Test probably needs to be fixed
test_socket -- OverflowError: can't convert negative value to unsigned int
test_sqlite -- ???
diff --git a/Modules/cPickle.c b/Modules/cPickle.c
index 4c55428..98ab500 100644
--- a/Modules/cPickle.c
+++ b/Modules/cPickle.c
@@ -2191,7 +2191,7 @@ save(Picklerobject *self, PyObject *args, int pers_save)
goto finally;
}
break;
- case 'l':
+ case 'i':
if (type == &PyLong_Type) {
res = save_long(self, args);
goto finally;