[Dy2stat] Disable test_lac on windows (#25359)

* fix test_lac timeout test=develop

* disable it on windows test=develop
fix_copy_if_different
Aurelius84 5 years ago committed by GitHub
parent 3d96601b82
commit a3dfff51ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -513,6 +513,11 @@ class TestLACModel(unittest.TestCase):
return out
def test_train(self):
# TODO(Aurelius84): The unittest will hang sometimes under command "ctest"
# on Windows platform, which means it failed to start up this unittest.
# So the unittest raised timeout.
if os.name == 'nt':
return
dy_out = self.train(to_static=False)
st_out = self.train(to_static=True)
self.assertTrue(

Loading…
Cancel
Save