Skip to content

Commit 8b41f55

Browse files
committed
Cifti2 arrayproxy tests should be negated or dropped...
1 parent 1eb6fbe commit 8b41f55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nibabel/cifti2/tests/test_cifti2io.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ def test_read_and_proxies():
6363
assert_true(isinstance(img2.header, ci.Cifti2Header))
6464
assert_equal(img2.shape, (1, 91282))
6565
# While we cannot reshape arrayproxies, all images are in-memory
66-
assert_true(img2.in_memory)
66+
assert_true(not img2.in_memory)
6767
data = img2.get_data()
68-
assert_true(data is img2.dataobj)
68+
assert_true(data is not img2.dataobj)
6969
# Uncaching has no effect, images are always array images
7070
img2.uncache()
71-
assert_true(data is img2.get_data())
71+
assert_true(data is not img2.get_data())
7272

7373

7474
@needs_nibabel_data('nitest-cifti2')

0 commit comments

Comments
 (0)