Update legacy from_hdf5 to exclude 'latitude'/'longitude' from extra #34
GitHub Actions / Unit Test Results Python 3.11
failed
Oct 13, 2023 in 0s
4 errors in 46s
Annotations
github-actions / Unit Test Results Python 3.11
climada.engine.test.test_impact with error
tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path
importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
???
<frozen importlib._bootstrap>:1176: in _find_and_load
???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:690: in _load_unlocked
???
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
exec(co, module.__dict__)
climada/engine/test/test_impact.py:37: in <module>
from climada.hazard.test.test_base import HAZ_TEST_TC
<frozen importlib._bootstrap>:1176: in _find_and_load
???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:690: in _load_unlocked
???
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:169: in exec_module
source_stat, co = _rewrite_test(fn, self.config)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:351: in _rewrite_test
tree = ast.parse(source, filename=strfn)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/ast.py:50: in parse
return compile(source, filename, mode, flags,
E File "/home/runner/work/climada_python/climada_python/climada/hazard/test/test_base.py", line 836
E centroids=Centroids(
E IndentationError: unexpected indent
github-actions / Unit Test Results Python 3.11
climada.hazard.centroids.test.test_vec_ras with error
tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path
importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
???
<frozen importlib._bootstrap>:1176: in _find_and_load
???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:690: in _load_unlocked
???
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:169: in exec_module
source_stat, co = _rewrite_test(fn, self.config)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:351: in _rewrite_test
tree = ast.parse(source, filename=strfn)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/ast.py:50: in parse
return compile(source, filename, mode, flags,
E File "/home/runner/work/climada_python/climada_python/climada/hazard/centroids/test/test_vec_ras.py", line 428
E def test_size_pass(self):
E IndentationError: unexpected indent
github-actions / Unit Test Results Python 3.11
climada.hazard.test.test_base with error
tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path
importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
???
<frozen importlib._bootstrap>:1176: in _find_and_load
???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:690: in _load_unlocked
???
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:169: in exec_module
source_stat, co = _rewrite_test(fn, self.config)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:351: in _rewrite_test
tree = ast.parse(source, filename=strfn)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/ast.py:50: in parse
return compile(source, filename, mode, flags,
E File "/home/runner/work/climada_python/climada_python/climada/hazard/test/test_base.py", line 836
E centroids=Centroids(
E IndentationError: unexpected indent
github-actions / Unit Test Results Python 3.11
climada.hazard.test.test_trop_cyclone with error
tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/python.py:531: in collect
self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/python.py:310: in obj
self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj
return self._importtestmodule()
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path
importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.11/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
???
<frozen importlib._bootstrap>:1176: in _find_and_load
???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:690: in _load_unlocked
???
../../../micromamba/envs/climada_env_3.11/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
exec(co, module.__dict__)
climada/hazard/test/test_trop_cyclone.py:46: in <module>
CENTR_TEST_BRB = Centroids.from_mat(DATA_DIR.joinpath('centr_brb_test.mat'))
E AttributeError: type object 'Centroids' has no attribute 'from_mat'
Loading