Skip to content

Commit 505e6e9

Browse files
committed
tests: Skip test_call_at on Travis/macOS
1 parent 3ad8bad commit 505e6e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_base.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import asyncio
22
import fcntl
33
import logging
4+
import os
45
import threading
56
import time
67
import uvloop
@@ -170,6 +171,10 @@ def cb(arg):
170171
self.assertEqual(calls, ['a'])
171172

172173
def test_call_at(self):
174+
if os.environ.get('TRAVIS_OS_NAME') == 'osx':
175+
# Time seems to be really unpredictable on Travis' macOS.
176+
raise unittest.SkipTest('time is not monotonic on Travis/macOS')
177+
173178
i = 0
174179

175180
def cb(inc):

0 commit comments

Comments
 (0)