mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
Skip test_idle() and test_UserSignal on Windows (#599)
This commit is contained in:
parent
f27807552f
commit
05b85d4334
1 changed files with 4 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue