benchmark
06ccf5ac - Skip test_wrap_bad if run under pytest (#115070)

Commit
2 years ago
Skip test_wrap_bad if run under pytest (#115070) Summary: Pytest replaces sys.stdout/stderr by `TextIOWrapper` instances which do not support `fileno()` Hence skip that test in this case Fixes #115069 X-link: https://github.com/pytorch/pytorch/pull/115070 Approved by: https://github.com/clee2000 Reviewed By: huydhn Differential Revision: D53791553 fbshipit-source-id: 5554e27cbf71e6ad46331ea4884145eb50a17d9c
Author
Parents
Loading