We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a388ac4 + da3af28 commit 62ce78bCopy full SHA for 62ce78b
1 file changed
Testing/test_tiles2gpkg.py
@@ -458,10 +458,10 @@ def test_file_path(self):
458
def test_assimilate_error(self):
459
session_folder = make_session_folder()
460
chdir(session_folder)
461
- gpkg = Geopackage(session_folder, 3395)
462
- remove(join(getcwd(), gpkg.file_path))
463
- with raises(IOError):
464
- gpkg.assimilate("None")
+ with Geopackage(session_folder, 3395) as gpkg:
+ with raises(IOError):
+ gpkg.assimilate("None")
+ remove(join(getcwd(), gpkg.file_path))
465
466
def test_execute_return(self):
467
0 commit comments