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.
1 parent 7c96071 commit fff385fCopy full SHA for fff385f
tests/iotools/test_meteonorm.py
@@ -308,7 +308,9 @@ def test_get_meteonorm_tmy(
308
interval_index=True,
309
map_variables=False,
310
url=demo_url)
311
- assert meta == expected_meteonorm_tmy_meta
+ assert meta.items() >= expected_meteonorm_tmy_meta.items()
312
+ for key in ['version', 'commit']:
313
+ assert key in meta # value changes, so only check presence
314
# meteonorm API only guarantees similar, not identical, results between
315
# calls. so we allow a small amount of variation with atol.
316
pd.testing.assert_frame_equal(data.iloc[:12], expected_meteonorm_tmy_data,
0 commit comments