Changeset 1135
- Timestamp:
- 08/22/08 14:49:46
- Files:
-
- Rtree/trunk/rtree/_rtreemodule.cc (modified) (1 diff)
- Rtree/trunk/tests/BoundsCheck.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Rtree/trunk/rtree/_rtreemodule.cc
r1057 r1135 124 124 125 125 bounds = PySequence_Fast(binput, "Bounds must be a sequence"); 126 if (bounds == NULL) return NULL; 127 126 128 size = (int) PySequence_Fast_GET_SIZE(bounds); 127 129 Rtree/trunk/tests/BoundsCheck.txt
r933 r1135 19 19 ValueError: Bounding box is invalid: maxx < miny or maxy < miny 20 20 21 Adding with invalid bounds argument should raise an exception 21 22 23 >>> index.add(1, 1) 24 Traceback (most recent call last): 25 ... 26 TypeError: Bounds must be a sequence
