Mercurial > hg > GlobalNeighbors
diff tests/test_grid.py @ 11:d1b99c695511
remove obselete data
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 25 Jun 2017 12:54:05 -0700 |
parents | 254195d0bac2 |
children |
line wrap: on
line diff
--- a/tests/test_grid.py Sun Jun 25 12:28:36 2017 -0700 +++ b/tests/test_grid.py Sun Jun 25 12:54:05 2017 -0700 @@ -52,7 +52,7 @@ assert os.path.exists(filename) with open(filename) as f: city_locations = locations(read_cities(f)) - self.grid_locations(city_locations) + grid = self.grid_locations(city_locations) def test_neighbors(self): """test grid neighbor indexing""" @@ -85,7 +85,7 @@ n_locations += len(grid[(i,j)]) assert n_locations == len(locations) - + return grid if __name__ == '__main__': unittest.main()