We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a2bec9 commit 5059ae1Copy full SHA for 5059ae1
pytests/test_async_std_asyncio.rs
@@ -113,7 +113,7 @@ async fn test_cancel() -> PyResult<()> {
113
{
114
Python::with_gil(|py| -> PyResult<()> {
115
assert!(py
116
- .import("asyncio.exceptions")?
+ .import("asyncio")?
117
.getattr("CancelledError")?
118
.downcast::<PyType>()
119
.unwrap()
pytests/tokio_asyncio/mod.rs
@@ -119,7 +119,7 @@ async fn test_cancel() -> PyResult<()> {
120
121
122
123
124
125
0 commit comments