Skip to content

Commit 04493d6

Browse files
committed
debug: more debugging code
1 parent 0fa700a commit 04493d6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/test_libraries.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2321,7 +2321,16 @@ def test_schwifty(pyi_builder):
23212321
def test_eccodes_gribapi(pyi_builder):
23222322
@isolated.decorate
23232323
def _get_library_path():
2324+
import logging
2325+
logging.basicConfig(level=loggin.DEBUG)
2326+
23242327
import os
2328+
os.environ['ECCODES_PYTHON_TRACE_LIB_SEARCH'] = '1'
2329+
2330+
import findlibs
2331+
findlibs.logger.setLevel(logging.DEBUG)
2332+
findlibs.logger.addHandler(logging.StreamHandler())
2333+
23252334
import eccodes
23262335
import gribapi
23272336
import gribapi.bindings

0 commit comments

Comments
 (0)