diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b141f24..94c47e0 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,14 @@ Package maintainers and users who have to manually update their installation may want to subscribe to `GitHub's tag feed `_. +Version 0.9.2 +============= + +*released on 13 March 2016* + +- Fixed testsuite for environments that don't have any web browser installed. + See :ghpr:`384`. + Version 0.9.1 ============= diff --git a/tests/utils/test_main.py b/tests/utils/test_main.py index d5622d9..2c63507 100644 --- a/tests/utils/test_main.py +++ b/tests/utils/test_main.py @@ -83,9 +83,9 @@ def test_request_ssl_fingerprints(httpsserver, fingerprint): def test_open_graphical_browser(monkeypatch): import webbrowser - # Just assert that this internal attribute still exists,is some sort of - # collection and non-empty - assert len(webbrowser._tryorder) + # Just assert that this internal attribute still exists and is some sort of + # collection. + iter(webbrowser._tryorder) monkeypatch.setattr('webbrowser._tryorder', [])