You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[3.11] pythongh-87846: test_io: Ignore OpenWrapper in test___all__
The deprecated `OpenWrapper` is added to the module on demand
in `__getattr__`, so it might or might not show up in `dir(io)`
depending on whether e.g. `test_openwrapper` was run.
Add in to `not_exported` so that check__all__ ignores it
when it exists.
This deterministically fails on some refleaks buildbots (but
not when the test is re-run, so it's only marked as a warning).
Locally, it can be reproduced by running `test_openwrapper` and
`test__all__`, twice:
./python -m test test_io test_io -m '*test_[o_][p_][ea][nl][wl]*' -v
0 commit comments