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.
2 parents 1c4f520 + 5059ae1 commit 211b9d1Copy full SHA for 211b9d1
pytests/test_async_std_asyncio.rs
@@ -187,7 +187,7 @@ async fn test_cancel() -> PyResult<()> {
187
{
188
Python::with_gil(|py| -> PyResult<()> {
189
assert!(py
190
- .import("asyncio.exceptions")?
+ .import("asyncio")?
191
.getattr("CancelledError")?
192
.downcast::<PyType>()
193
.unwrap()
pytests/tokio_asyncio/mod.rs
@@ -194,7 +194,7 @@ async fn test_cancel() -> PyResult<()> {
194
195
196
197
198
199
200
0 commit comments