From 240f112df59909f0693586097ca07e92be2f0706 Mon Sep 17 00:00:00 2001 From: Lachlan Deakin Date: Wed, 20 Mar 2024 10:21:01 +1100 Subject: [PATCH] Enable pcodec tests with miri Fixes #11 --- src/array/codec/array_to_bytes/pcodec.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/array/codec/array_to_bytes/pcodec.rs b/src/array/codec/array_to_bytes/pcodec.rs index 72b77e2e..511a7c96 100644 --- a/src/array/codec/array_to_bytes/pcodec.rs +++ b/src/array/codec/array_to_bytes/pcodec.rs @@ -242,7 +242,6 @@ mod tests { } #[test] - #[cfg_attr(miri, ignore)] fn codec_pcodec_round_trip_u32() { codec_pcodec_round_trip_impl( &PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()), @@ -253,7 +252,6 @@ mod tests { } #[test] - #[cfg_attr(miri, ignore)] fn codec_pcodec_round_trip_u64() { codec_pcodec_round_trip_impl( &PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()), @@ -264,7 +262,6 @@ mod tests { } #[test] - #[cfg_attr(miri, ignore)] fn codec_pcodec_round_trip_i32() { codec_pcodec_round_trip_impl( &PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()), @@ -275,7 +272,6 @@ mod tests { } #[test] - #[cfg_attr(miri, ignore)] fn codec_pcodec_round_trip_i64() { codec_pcodec_round_trip_impl( &PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()), @@ -286,7 +282,6 @@ mod tests { } #[test] - #[cfg_attr(miri, ignore)] fn codec_pcodec_round_trip_f32() { codec_pcodec_round_trip_impl( &PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()), @@ -297,7 +292,6 @@ mod tests { } #[test] - #[cfg_attr(miri, ignore)] fn codec_pcodec_round_trip_f64() { codec_pcodec_round_trip_impl( &PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()), @@ -308,7 +302,6 @@ mod tests { } #[test] - #[cfg_attr(miri, ignore)] fn codec_pcodec_round_trip_complex64() { codec_pcodec_round_trip_impl( &PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()), @@ -319,7 +312,6 @@ mod tests { } #[test] - #[cfg_attr(miri, ignore)] fn codec_pcodec_round_trip_complex128() { codec_pcodec_round_trip_impl( &PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()), @@ -340,7 +332,6 @@ mod tests { } #[test] - #[cfg_attr(miri, ignore)] fn codec_pcodec_partial_decode() { let chunk_shape: ChunkShape = vec![4, 4].try_into().unwrap(); let chunk_representation = ChunkRepresentation::new( @@ -383,7 +374,6 @@ mod tests { #[cfg(feature = "async")] #[tokio::test] - #[cfg_attr(miri, ignore)] async fn codec_pcodec_async_partial_decode() { let chunk_shape: ChunkShape = vec![4, 4].try_into().unwrap(); let chunk_representation = ChunkRepresentation::new(