Merge pull request #39 from rmk135/py32

Py32
This commit is contained in:
Roman 2015-03-26 01:14:51 +02:00
commit 946b1a240c
3 changed files with 10 additions and 4 deletions

View File

@ -10,3 +10,4 @@ env:
- TOXENV=pep257
- TOXENV=py26
- TOXENV=py27
- TOXENV=py32

View File

@ -380,9 +380,9 @@ class StaticProvidersTests(unittest.TestCase):
def test_call_overridden_function_provider(self):
"""Test overridden Function provider call."""
function_provider = Function(map)
function_provider.override(Function(reduce))
self.assertIs(function_provider(), reduce)
function_provider = Function(len)
function_provider.override(Function(sum))
self.assertIs(function_provider(), sum)
def test_call_overridden_value_provider(self):
"""Test overridden Value provider call."""

View File

@ -1,6 +1,6 @@
[tox]
envlist=
dev, coveralls, pylint, flake8, pep257, py26, py27
dev, coveralls, pylint, flake8, pep257, py26, py27, py32
[testenv]
deps=
@ -57,3 +57,8 @@ commands=
basepython=python2.7
commands=
unit2 discover tests []
[testenv:py32]
basepython=python3.2
commands=
unit2 discover tests []