Skip to content

Commit

Permalink
fixing code that will delete non-temporary rasters on program exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Bierbower authored and Will Bierbower committed Mar 17, 2015
1 parent e4cf6c1 commit ea4a965
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fauxgeo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

from raster import *

__version__ = '0.1.1'
__version__ = '0.1.2'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

setup(
name='fauxgeo',
version='0.1.1',
version='0.1.2',
description='A python library that generates fake geospatial data',
long_description=readme + '\n\n' + history,
author='Will B',
Expand Down
7 changes: 5 additions & 2 deletions tests/test_raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ def test_set_functions(self):

pass

def tearDown(self):
os.remove(self.raster.uri)
# # this isn't needed right now because of the embedded cleanup function
# # currently in the Raster class and the fact that the above raster url
# # is set to None
# def tearDown(self):
# os.remove(self.raster.uri)


class Test_TestRaster(unittest.TestCase):
Expand Down

0 comments on commit ea4a965

Please sign in to comment.