File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ lint: fmt clippy
14
14
test : lint
15
15
cargo test --all-features
16
16
17
- test-feature-powerset :
17
+ test-feature-powerset : lint
18
18
cargo install cargo-hack
19
19
cargo hack test --feature-powerset
20
20
Original file line number Diff line number Diff line change 182
182
//! # fn main() {}
183
183
//! ```
184
184
185
+ use std:: { future:: Future , pin:: Pin } ;
186
+
185
187
use clap:: { App , Arg } ;
186
188
use futures:: stream:: { self , StreamExt } ;
187
189
use pyo3:: prelude:: * ;
@@ -245,10 +247,7 @@ pub fn parse_args() -> Args {
245
247
}
246
248
}
247
249
248
- type TestFn = dyn Fn ( ) -> std:: pin:: Pin <
249
- Box < dyn std:: future:: Future < Output = pyo3:: PyResult < ( ) > > + Send > ,
250
- > + Send
251
- + Sync ;
250
+ type TestFn = dyn Fn ( ) -> Pin < Box < dyn Future < Output = PyResult < ( ) > > + Send > > + Send + Sync ;
252
251
253
252
/// The structure used by the `#[test]` macros to provide a test to the `pyo3-asyncio` test harness.
254
253
#[ derive( Clone ) ]
You can’t perform that action at this time.
0 commit comments