We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eb6fbe commit 8b41f55Copy full SHA for 8b41f55
nibabel/cifti2/tests/test_cifti2io.py
@@ -63,12 +63,12 @@ def test_read_and_proxies():
63
assert_true(isinstance(img2.header, ci.Cifti2Header))
64
assert_equal(img2.shape, (1, 91282))
65
# While we cannot reshape arrayproxies, all images are in-memory
66
- assert_true(img2.in_memory)
+ assert_true(not img2.in_memory)
67
data = img2.get_data()
68
- assert_true(data is img2.dataobj)
+ assert_true(data is not img2.dataobj)
69
# Uncaching has no effect, images are always array images
70
img2.uncache()
71
- assert_true(data is img2.get_data())
+ assert_true(data is not img2.get_data())
72
73
74
@needs_nibabel_data('nitest-cifti2')
0 commit comments