Skip to content

Commit

Permalink
Fixed py3.3 test failures. (#192)
Browse files Browse the repository at this point in the history
* Fixed py3.3 test failures.

* Properly skipped whole test modules.

If there is just one test in the module, this could be moved down to the
test. But for now travis-ci should get back to green with minimal
changes.
  • Loading branch information
apollo13 authored and prologic committed Jan 15, 2017
1 parent 9a07284 commit 2924dbb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/core/test_coroutine.py
Expand Up @@ -4,7 +4,7 @@


import pytest
pytest.mark.skip("XXX: This test fails intermittently")
pytestmark = pytest.mark.skip("XXX: This test fails intermittently")

from circuits import Event, Component

Expand Down
2 changes: 1 addition & 1 deletion tests/web/test_digestauth.py
Expand Up @@ -2,7 +2,7 @@

import pytest
if pytest.PYVER[:2] == (3, 3):
pytest.skip("Broken on Python 3.3")
pytestmark = pytest.mark.skip("Broken on Python 3.3")

from circuits.web import Controller
from circuits.web.tools import check_auth, digest_auth
Expand Down
2 changes: 1 addition & 1 deletion tests/web/test_servers.py
Expand Up @@ -20,7 +20,7 @@


if pytest.PYVER < (2, 7):
pytest.mark.skip("This test requires Python=>2.7")
pytestmark = pytest.mark.skip("This test requires Python=>2.7")


CERTFILE = path.join(path.dirname(__file__), "cert.pem")
Expand Down
2 changes: 1 addition & 1 deletion tests/web/test_wsgi_gateway_multiple_apps.py
Expand Up @@ -2,7 +2,7 @@

import pytest
if pytest.PYVER[:2] == (3, 3):
pytest.skip("Broken on Python 3.3")
pytestmark = pytest.mark.skip("Broken on Python 3.3")

from circuits.web import Server
from circuits.web.wsgi import Gateway
Expand Down

0 comments on commit 2924dbb

Please sign in to comment.