[fix] fix test_python_dispatch with pytest (#64574)
authorkshitij12345 <kshitijkalambarkar@gmail.com>
Mon, 13 Sep 2021 00:05:33 +0000 (17:05 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 13 Sep 2021 00:06:55 +0000 (17:06 -0700)
commitd46ea03871562d4c93a9dfedcb211051338b44a9
tree57ed0996ddb09cfdac6fc64ca2eb2caeae044794
parentbe79da3303bbda32e29d4ea92bf11056db359960
[fix] fix test_python_dispatch with pytest (#64574)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/62501

Another approach for fixing the same issue

Pull Request resolved: https://github.com/pytorch/pytorch/pull/64574

Reviewed By: ngimel

Differential Revision: D30867237

Pulled By: ezyang

fbshipit-source-id: c632a1e0b241effdc21ae929abe42fccec88aa24
test/test_python_dispatch.py