diff --git a/tests/test_atlasq_ohi.py b/tests/test_atlasq_ohi.py index c4a0938d5f5e6480411a21d3d77861681ee3fdcb..36279ce693ec0cbeb7c783bf3ece588f6c32431d 100644 --- a/tests/test_atlasq_ohi.py +++ b/tests/test_atlasq_ohi.py @@ -77,7 +77,7 @@ def test_coords(seed): if label is None: return expected + 'Unclassified' else: - return expected + atlas.desc.labels[int(label)].name + return expected + atlas.desc.find(value=int(label)).name capture = CaptureStdout()