misc cleanup
This commit is contained in:
parent
dbe3ed99d4
commit
24bbfec556
|
@ -17,7 +17,7 @@ numpy>=1.11.0,!=1.16.0
|
||||||
Rtree>=0.8.2,!=0.9.1
|
Rtree>=0.8.2,!=0.9.1
|
||||||
shapely>=2.0.0
|
shapely>=2.0.0
|
||||||
scipy>=1.9.0,!=1.12.*
|
scipy>=1.9.0,!=1.12.*
|
||||||
pygeoprocessing==2.4.7
|
pygeoprocessing>=2.4.6
|
||||||
taskgraph>=0.11.0
|
taskgraph>=0.11.0
|
||||||
psutil>=5.6.6
|
psutil>=5.6.6
|
||||||
chardet>=3.0.4
|
chardet>=3.0.4
|
||||||
|
|
|
@ -7,7 +7,6 @@ import shutil
|
||||||
import tempfile
|
import tempfile
|
||||||
import unittest
|
import unittest
|
||||||
from unittest import mock
|
from unittest import mock
|
||||||
import pytest
|
|
||||||
|
|
||||||
import numpy
|
import numpy
|
||||||
import pygeoprocessing
|
import pygeoprocessing
|
||||||
|
@ -25,6 +24,7 @@ REGRESSION_DATA = os.path.join(
|
||||||
os.path.dirname(__file__), '..', 'data', 'invest-test-data',
|
os.path.dirname(__file__), '..', 'data', 'invest-test-data',
|
||||||
'delineateit')
|
'delineateit')
|
||||||
|
|
||||||
|
|
||||||
@contextlib.contextmanager
|
@contextlib.contextmanager
|
||||||
def capture_logging(logger, level=logging.NOTSET):
|
def capture_logging(logger, level=logging.NOTSET):
|
||||||
"""Capture logging within a context manager.
|
"""Capture logging within a context manager.
|
||||||
|
|
Loading…
Reference in New Issue