MCPcopy Index your code
hub / github.com/pydata/xarray / assert_combined_tile_ids_equal

Function assert_combined_tile_ids_equal

xarray/tests/test_combine.py:36–40  ·  view source on GitHub ↗
(dict1: dict, dict2: dict)

Source from the content-addressed store, hash-verified

34
35
36def assert_combined_tile_ids_equal(dict1: dict, dict2: dict) -> None:
37 assert len(dict1) == len(dict2)
38 for k in dict1.keys():
39 assert k in dict2.keys()
40 assert_equal(dict1[k], dict2[k])
41
42
43class TestTileIDsFromNestedList:

Callers 15

test_1dMethod · 0.85
test_2dMethod · 0.85
test_3dMethod · 0.85
test_single_datasetMethod · 0.85
test_1dMethod · 0.85
test_2dMethod · 0.85

Calls 2

assert_equalFunction · 0.90
keysMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…