mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-10 11:49:08 +08:00
Remove range check test
This commit is contained in:
@@ -69,13 +69,6 @@ def test_unsupported_dtype():
|
|||||||
assert_raises(ValueError, img_as_int, x)
|
assert_raises(ValueError, img_as_int, x)
|
||||||
|
|
||||||
|
|
||||||
def test_float_out_of_range():
|
|
||||||
too_high = np.array([2], dtype=np.float32)
|
|
||||||
assert_raises(ValueError, img_as_int, too_high)
|
|
||||||
too_low = np.array([-2], dtype=np.float32)
|
|
||||||
assert_raises(ValueError, img_as_int, too_low)
|
|
||||||
|
|
||||||
|
|
||||||
def test_copy():
|
def test_copy():
|
||||||
x = np.array([1], dtype=np.float64)
|
x = np.array([1], dtype=np.float64)
|
||||||
y = img_as_float(x)
|
y = img_as_float(x)
|
||||||
|
|||||||
Reference in New Issue
Block a user