misc cleanup

This commit is contained in:
Emily Soth 2025-05-22 11:18:47 -07:00
parent dbe3ed99d4
commit 24bbfec556
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ numpy>=1.11.0,!=1.16.0
Rtree>=0.8.2,!=0.9.1
shapely>=2.0.0
scipy>=1.9.0,!=1.12.*
pygeoprocessing==2.4.7
pygeoprocessing>=2.4.6
taskgraph>=0.11.0
psutil>=5.6.6
chardet>=3.0.4

View File

@ -7,7 +7,6 @@ import shutil
import tempfile
import unittest
from unittest import mock
import pytest
import numpy
import pygeoprocessing
@ -25,6 +24,7 @@ REGRESSION_DATA = os.path.join(
os.path.dirname(__file__), '..', 'data', 'invest-test-data',
'delineateit')
@contextlib.contextmanager
def capture_logging(logger, level=logging.NOTSET):
"""Capture logging within a context manager.