diff --git a/.travis.yml b/.travis.yml index 5a408df..cbd3026 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: python -dist: precise +dist: trusty python: - 2.7 - 3.3 diff --git a/tests/test_terminal.py b/tests/test_terminal.py index 67f6ee4..8b341ec 100644 --- a/tests/test_terminal.py +++ b/tests/test_terminal.py @@ -37,7 +37,8 @@ def test_terminal_properties(terminal, config): terminal._display = None with mock.patch('rtv.terminal.sys') as sys, \ - mock.patch.dict('os.environ', {'DISPLAY': ''}): + mock.patch('os.environ', {'DISPLAY': ''}), \ + mock.patch('webbrowser._tryorder', new=[]): sys.platform = 'darwin' assert terminal.display is True