[profiler] Re-enable test on Windows (#62703)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/62703
Re-enable test on Windows
Test Plan: CI
Reviewed By: ezyang
Differential Revision: D30094460
Pulled By: ilia-cher
fbshipit-source-id: 80521f6bc1365d2c252f20b5d0485fc062c8d9c3
diff --git a/test/test_jit.py b/test/test_jit.py
index 807f82f..8d90ab3 100644
--- a/test/test_jit.py
+++ b/test/test_jit.py
@@ -2716,7 +2716,6 @@
s = str(torch.ops)
self.assertRegex(s, r'ops')
- @unittest.skipIf(IS_WINDOWS, 'TODO: fix occasional windows failure')
def test_profiler(self):
prev_opt = torch._C._get_graph_executor_optimize()
torch._C._set_graph_executor_optimize(False)