diff --git a/python/paddle/fluid/tests/unittests/test_cond.py b/python/paddle/fluid/tests/unittests/test_cond.py index ac36329bcf629e..02a7503e6f2ad8 100644 --- a/python/paddle/fluid/tests/unittests/test_cond.py +++ b/python/paddle/fluid/tests/unittests/test_cond.py @@ -466,12 +466,6 @@ def cond_func(i, img, label): lambda: batchnorm_fc_with_inputs(img, label, class_num=10)) for use_parallel_exe in [False, True]: - if use_parallel_exe and os.name == "nt": - print( - "Skip use_parallel_exe=True in Windows because of flaky test when using PE and control flow under Windows" - ) - continue - self.backward_value_helper(cond_func, core.is_compiled_with_cuda(), use_parallel_exe) @@ -493,12 +487,6 @@ def cond_func_simple_net_at_false(i, img, label): lambda: branch(i, img, label)) for use_parallel_exe in [False, True]: - if use_parallel_exe and os.name == "nt": - print( - "Skip use_parallel_exe=True in Windows because of flaky test when using PE and control flow under Windows" - ) - continue - self.backward_value_helper(cond_func_simple_net_at_true, core.is_compiled_with_cuda(), use_parallel_exe) @@ -526,11 +514,6 @@ def cond_func(i, img, label): lambda: branch(i, img, label, False)) for use_parallel_exe in [False, True]: - if use_parallel_exe and os.name == "nt": - print( - "Skip use_parallel_exe=True in Windows because of flaky test when using PE and control flow under Windows" - ) - continue self.backward_value_helper(cond_func, core.is_compiled_with_cuda(), use_parallel_exe)