mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-21 12:50:27 +08:00
Fix Python 3 list handling.
This commit is contained in:
@@ -342,7 +342,8 @@ def test_old_dict_interface():
|
||||
'Extent', 'MinIntensity', 'MeanIntensity',
|
||||
'MaxIntensity', 'Solidity'],
|
||||
intensity_image=INTENSITY_SAMPLE)
|
||||
np.array([props.values() for props in feats], np.float)
|
||||
|
||||
np.array([list(props.values()) for props in feats], np.float)
|
||||
assert_equal(len(feats[0]), 8)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user