add separate test for the serializer bigint fail
--HG-- branch : trunk
This commit is contained in:
		
							parent
							
								
									3d2975f38e
								
							
						
					
					
						commit
						40e91dcd85
					
				|  | @ -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) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue