Changeset 819
- Timestamp:
- 08/09/07 11:22:34 (3 years ago)
- Location:
- Rtree/trunk/tests
- Files:
-
- 1 added
- 1 modified
-
data.py (modified) (3 diffs)
-
test_doctests.py (added)
Legend:
- Unmodified
- Added
- Removed
-
Rtree/trunk/tests/data.py
r692 r819 1 import os.path 1 2 2 3 boxes15 = [] 3 f = file( 'boxes_15x15.dat', 'r')4 f = file(os.path.join(os.path.dirname(__file__), 'boxes_15x15.dat'), 'r') 4 5 for line in f.readlines(): 5 6 if not line: … … 9 10 10 11 boxes3 = [] 11 f = file( 'boxes_3x3.dat', 'r')12 f = file(os.path.join(os.path.dirname(__file__), 'boxes_3x3.dat'), 'r') 12 13 for line in f.readlines(): 13 14 if not line: … … 17 18 18 19 points = [] 19 f = file( 'point_clusters.dat', 'r')20 f = file(os.path.join(os.path.dirname(__file__), 'point_clusters.dat'), 'r') 20 21 for line in f.readlines(): 21 22 if not line:
