diff options
Diffstat (limited to 'vendor/rayon/src/iter/collect')
-rw-r--r-- | vendor/rayon/src/iter/collect/test.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/rayon/src/iter/collect/test.rs b/vendor/rayon/src/iter/collect/test.rs index b5f676f5d..97bec3f4e 100644 --- a/vendor/rayon/src/iter/collect/test.rs +++ b/vendor/rayon/src/iter/collect/test.rs @@ -76,6 +76,7 @@ fn right_produces_items_with_no_complete() { // Complete is not called by the consumer. Hence,the collection vector is not fully initialized. #[test] +#[cfg_attr(not(panic = "unwind"), ignore)] fn produces_items_with_no_complete() { let counter = DropCounter::default(); let mut v = vec![]; @@ -273,6 +274,7 @@ fn right_panics() { // The left consumer produces fewer items while the right // consumer produces correct number; check that created elements are dropped #[test] +#[cfg_attr(not(panic = "unwind"), ignore)] fn left_produces_fewer_items_drops() { let counter = DropCounter::default(); let mut v = vec![]; |