From 40e91dcd859d67999b10a4a0241c3bce8511ade9 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Mon, 28 Sep 2009 22:42:36 +0200 Subject: [PATCH] add separate test for the serializer bigint fail --HG-- branch : trunk --- testing/execnet/test_serializer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/execnet/test_serializer.py b/testing/execnet/test_serializer.py index 4b94ef225..731438f7c 100755 --- a/testing/execnet/test_serializer.py +++ b/testing/execnet/test_serializer.py @@ -90,6 +90,8 @@ class TestSerializer: tp, v = load(p) assert tp == "int" assert int(v) == 4 + + def test_bigint_should_fail(self): py.test.raises(serializer.SerializationError, serializer.Serializer(py.io.BytesIO()).save, 123456678900)