Skip test_idle() and test_UserSignal on Windows (#599)

This commit is contained in:
Eldinnie 2017-05-12 17:39:14 +02:00 committed by Jannes Höke
parent f27807552f
commit 05b85d4334

View file

@ -786,6 +786,8 @@ class UpdaterTest(BaseTest, unittest.TestCase):
os.kill(os.getpid(), signal.SIGTERM)
def test_idle(self):
if sys.platform == "win32":
return
self._setup_updater('Test6', messages=0)
self.updater.start_polling(poll_interval=0.01)
Thread(target=self.signalsender).start()
@ -795,6 +797,8 @@ class UpdaterTest(BaseTest, unittest.TestCase):
self.assertFalse(self.updater.running)
def test_userSignal(self):
if sys.platform == "win32":
return
self._setup_updater('Test7', messages=0)
tempVar = {'a': 0}