diff --git a/gstreamer/src/buffer.rs b/gstreamer/src/buffer.rs index d78c3cc96..136e441e8 100644 --- a/gstreamer/src/buffer.rs +++ b/gstreamer/src/buffer.rs @@ -1118,6 +1118,7 @@ mod tests { } #[test] + #[allow(clippy::cognitive_complexity)] fn test_memories() { ::init().unwrap(); diff --git a/gstreamer/src/buffer_cursor.rs b/gstreamer/src/buffer_cursor.rs index 691eacda1..fa32184d7 100644 --- a/gstreamer/src/buffer_cursor.rs +++ b/gstreamer/src/buffer_cursor.rs @@ -437,6 +437,7 @@ mod tests { use super::*; #[test] + #[allow(clippy::cognitive_complexity)] fn test_buffer_cursor() { use std::io::{self, Read, Seek, Write}; @@ -528,6 +529,7 @@ mod tests { } #[test] + #[allow(clippy::cognitive_complexity)] fn test_buffer_cursor_ref() { use std::io::{self, Read, Seek, Write};