Skip to content

Commit

Permalink
Add support for Python 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tore Lundqvist authored and tltx committed May 18, 2016
1 parent a6d887d commit 757ce30
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
6 changes: 6 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
coverage==4.0.3
flake8==2.5.4
nose==1.3.7
pycrypto==2.6.1
requests>=2.10.0
yanc==0.3.3
2 changes: 1 addition & 1 deletion tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

from inspect import stack, isfunction # NOQA

from mock import Mock # NOQA
from unittest.mock import Mock # NOQA
from nose.tools import nottest # NOQA


Expand Down
2 changes: 1 addition & 1 deletion tests/test_service_oauth1.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from copy import deepcopy
from hashlib import sha1

from mock import patch
from unittest.mock import patch

import rauth

Expand Down
2 changes: 1 addition & 1 deletion tests/test_service_oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from rauth.compat import parse_qsl, is_basestring

from copy import deepcopy
from mock import patch
from unittest.mock import patch

import requests

Expand Down
2 changes: 1 addition & 1 deletion tests/test_service_ofly.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from datetime import datetime
from functools import wraps

from mock import patch
from unittest.mock import patch

import requests

Expand Down
2 changes: 1 addition & 1 deletion tests/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from base import RauthTestCase
from rauth.session import OAuth1Session, OAuth2Session, OflySession

from mock import patch
from unittest.mock import patch

import requests

Expand Down
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[tox]
envlist=py33,py27,py26,pypy
envlist=py34,py33,py27,py26,pypy

[testenv:py34]
deps=
-r{toxinidir}/[email protected]
commands=flake8 rauth tests
./run-tests.sh

[testenv:py33]
deps=
Expand Down

0 comments on commit 757ce30

Please sign in to comment.