CLN: do not use values attribute when testing shape