MCPcopy Create free account
hub / github.com/SimpleITK/SimpleITK / test_threaded_read

Function test_threaded_read

Wrapping/Python/tests/ConcurrentImageRead.py:63–67  ·  view source on GitHub ↗

Test thread concurrent reading of images in various formats.

(tmp_path, img_extension, expected_hash, img_type)

Source from the content-addressed store, hash-verified

61
62@pytest.mark.parametrize("img_extension,expected_hash,img_type", test_parameters)
63def test_threaded_read(tmp_path, img_extension, expected_hash, img_type):
64 """Test thread concurrent reading of images in various formats."""
65 files = create_data(tmp_path, img_extension, img_type)
66 files *= 64
67 threaded_read_test(files, expected_hash)

Callers

nothing calls this directly

Calls 2

create_dataFunction · 0.85
threaded_read_testFunction · 0.85

Tested by

no test coverage detected