        assert_eq!(format!("{:?}", Dataspace::new(3, true).unwrap()),
            "<HDF5 dataspace: (3,)>");
        assert_eq!(format!("{}", Dataspace::new((1, 2), true).unwrap()),
            "<HDF5 dataspace: (1, 2)>");
        assert_eq!(format!("{:?}", Dataspace::new((1, 2), true).unwrap()),
            "<HDF5 dataspace: (1, 2)>");
    }

    #[test]
    pub fn test_dataspace() {
        silence_errors();
        assert_err!(Dataspace::new(H5S_UNLIMITED as usize, true),