Skip to content

Commit aa4e6cd

Browse files
committedFeb 23, 2014
Convert hamcrest to a single source base
* finalizes py25 deprecation * [TravisCI] fixups for single-source, remove Jython and Python 2.5 * Enable coveralls
1 parent dab9933 commit aa4e6cd

30 files changed

+137
-118
lines changed
 

‎.coveragerc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
source = hamcrest

‎.travis.yml

+19-31
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,40 @@
11
language: python
22

33
python:
4-
- 2.5
5-
- 2.6
6-
- 2.7
7-
- 3.2
8-
- 3.3
9-
- pypy
4+
- 2.6
5+
- 2.7
6+
- 3.2
7+
- 3.3
8+
- pypy
109

1110
env:
1211
matrix:
1312
- NUMPY="true"
1413
- NUMPY="false"
1514

1615
matrix:
17-
exclude:
18-
- python: pypy
19-
env: NUMPY="true"
20-
- python: jython2.5
21-
env: NUMPY="true"
22-
23-
allow_failures:
24-
- python: jython2.5
25-
env: NUMPY="false"
16+
exclude:
17+
- python: pypy
18+
env: NUMPY="true"
2619

2720
before_install:
2821
- export PYTHON_EXE=python
29-
- export JYTHON_URL='http://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar?r=http%3A%2F%2Fwww.jython.org%2Fdownloads.html&ts=1338089844&use_mirror=iweb'
3022
- export EASY_SETUP_URL='http://peak.telecommunity.com/dist/ez_setup.py'
31-
- if [[ $TRAVIS_PYTHON_VERSION == 'jython2.5' ]]; then wget $JYTHON_URL -O jython_installer.jar; java -jar jython_installer.jar -s -d $HOME/jython | tail -n 2; export PATH=$HOME/jython:$HOME/jython/bin:$PATH; jython -c print; export PYTHON_EXE=jython; fi
32-
- if [[ $TRAVIS_PYTHON_VERSION == 'jython2.5' ]]; then wget $EASY_SETUP_URL -O ez_setup.py; jython ez_setup.py; hash -r; easy_install pip; fi
3323

3424
install:
35-
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors unittest2; fi
36-
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors unittest2; fi
37-
- if [[ $TRAVIS_PYTHON_VERSION == "jython2.5" ]]; then pip install nose unittest2; fi
38-
- if [[ $NUMPY == "true" ]]; then pip install numpy; fi
39-
- pip install --use-mirrors 'pytest>=2.3.5' 'six'
40-
- "/usr/bin/yes | $PYTHON_EXE setup.py install 2>&1 | tail -n 2"
41-
# - pip install . --use-mirrors
25+
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors unittest2; fi
26+
- if [[ $NUMPY == "true" ]]; then pip install numpy; fi
27+
- pip install --use-mirrors coveralls
28+
- pip install --use-mirrors 'pytest>=2.3.5' 'pytest-cov>=1.6'
29+
- pip install --use-mirrors -r requirements.txt
4230

4331
before_script:
44-
- if [[ $TRAVIS_PYTHON_VERSION == "jython2.5" ]]; then jython -c "print ''"; fi
4532
- if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then export PYTHONHASHSEED=4; fi
33+
- if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then export PYTHONHASHSEED=8; fi
4634

4735
script:
48-
# Must cd somewhere else so python3 doesn't get confused and run
49-
# the python2 code from the current directory instead of the installed
50-
# 2to3 version.
51-
- $PYTHON_EXE setup.py build
52-
- py.test -v
36+
- $PYTHON_EXE setup.py develop
37+
- py.test -v --cov hamcrest
38+
39+
after_success:
40+
- coveralls

‎README.rst

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ PyHamcrest
1010
.. image:: https://travis-ci.org/hamcrest/PyHamcrest.png?branch=master
1111
:alt: Build Status
1212
:target: https://travis-ci.org/hamcrest/PyHamcrest
13+
.. image:: https://coveralls.io/repos/hamcrest/PyHamcrest/badge.png?branch=master
14+
:alt: Coverage
15+
:target: https://coveralls.io/r/hamcrest/PyHamcrest?branch=master
16+
1317

1418
Introduction
1519
============

‎requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
six>=1.4

‎setup.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def read(fname):
2727
fh.close()
2828

2929
extra_attributes = {}
30-
if sys.version_info >= (3,):
31-
extra_attributes['use_2to3'] = True
30+
# if sys.version_info >= (3,):
31+
# extra_attributes['use_2to3'] = True
3232

3333
params = dict(
3434
name='PyHamcrest',
@@ -45,17 +45,18 @@ def read(fname):
4545
package_dir = {'': 'src'},
4646
provides=['hamcrest'],
4747
long_description=read('README.rst'),
48-
install_requires=['setuptools'],
48+
install_requires=['setuptools', 'six'],
4949
classifiers=[
5050
'Development Status :: 5 - Production/Stable',
5151
'Environment :: Console',
5252
'Intended Audience :: Developers',
5353
'License :: OSI Approved :: BSD License',
5454
'Natural Language :: English',
5555
'Operating System :: OS Independent',
56-
'Programming Language :: Python :: 2.5',
56+
'Programming Language :: Python :: 2',
5757
'Programming Language :: Python :: 2.6',
5858
'Programming Language :: Python :: 2.7',
59+
'Programming Language :: Python :: 3',
5960
'Programming Language :: Python :: 3.2',
6061
'Programming Language :: Python :: 3.3',
6162
'Topic :: Software Development',

‎src/hamcrest/__init__.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
from core import *
2-
from library import *
1+
from __future__ import absolute_import
2+
from hamcrest.core import *
3+
from hamcrest.library import *
34

45
__version__ = "1.8.0"
56
__author__ = "Chris Rose"

‎src/hamcrest/core/__init__.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
from assert_that import assert_that
2-
from core import *
1+
from __future__ import absolute_import
2+
from hamcrest.core.assert_that import assert_that
3+
from hamcrest.core.core import *
34

45
__author__ = "Jon Reid"
56
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/core/assert_that.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
from matcher import Matcher
2-
from string_description import StringDescription
1+
from __future__ import absolute_import
2+
from hamcrest.core.matcher import Matcher
3+
from hamcrest.core.string_description import StringDescription
34

45
__author__ = "Jon Reid"
56
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/core/base_description.py

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
from description import Description
2-
from selfdescribingvalue import SelfDescribingValue
3-
from helpers.hasmethod import hasmethod
4-
5-
import warnings
6-
1+
from __future__ import absolute_import
72
__author__ = "Jon Reid"
83
__copyright__ = "Copyright 2011 hamcrest.org"
94
__license__ = "BSD, see License.txt"
105

6+
import warnings
7+
import six
8+
9+
from hamcrest.core.description import Description
10+
from hamcrest.core.selfdescribingvalue import SelfDescribingValue
11+
from hamcrest.core.helpers.hasmethod import hasmethod
1112

1213
class BaseDescription(Description):
1314
"""Base class for all :py:class:`~hamcrest.core.description.Description`
@@ -22,10 +23,12 @@ def append_text(self, text):
2223
def append_description_of(self, value):
2324
if hasmethod(value, 'describe_to'):
2425
value.describe_to(self)
25-
elif isinstance(value, str):
26-
self.append_string_in_python_syntax(value)
27-
elif isinstance(value, unicode):
26+
elif six.PY3 and isinstance(value, six.text_type):
2827
self.append(repr(value))
28+
elif isinstance(value, six.binary_type):
29+
self.append_string_in_python_syntax(value)
30+
elif isinstance(value, six.text_type):
31+
self.append_string_in_python_syntax(value)
2932
else:
3033
description = str(value)
3134
if description[:1] == '<' and description[-1:] == '>':

‎src/hamcrest/core/base_matcher.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
from __future__ import absolute_import
12
__author__ = "Jon Reid"
23
__copyright__ = "Copyright 2011 hamcrest.org"
34
__license__ = "BSD, see License.txt"
45

5-
from matcher import Matcher
6-
from string_description import tostring
6+
from hamcrest.core.matcher import Matcher
7+
from hamcrest.core.string_description import tostring
78

89

910
class BaseMatcher(Matcher):

‎src/hamcrest/core/core/__init__.py

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1+
from __future__ import absolute_import
12
"""Fundamental matchers of objects and values, and composite matchers."""
23

3-
from allof import all_of
4-
from anyof import any_of
5-
from described_as import described_as
6-
from is_ import is_
7-
from isanything import anything
8-
from isequal import equal_to
9-
from isinstanceof import instance_of
10-
from isnone import none, not_none
11-
from isnot import is_not
12-
from issame import same_instance
13-
from raises import calling, raises
4+
from hamcrest.core.core.allof import all_of
5+
from hamcrest.core.core.anyof import any_of
6+
from hamcrest.core.core.described_as import described_as
7+
from hamcrest.core.core.is_ import is_
8+
from hamcrest.core.core.isanything import anything
9+
from hamcrest.core.core.isequal import equal_to
10+
from hamcrest.core.core.isinstanceof import instance_of
11+
from hamcrest.core.core.isnone import none, not_none
12+
from hamcrest.core.core.isnot import is_not
13+
from hamcrest.core.core.issame import same_instance
14+
from hamcrest.core.core.raises import calling, raises
1415

1516
__author__ = "Jon Reid"
1617
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/core/core/is_.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
from __future__ import absolute_import
12
__author__ = "Jon Reid"
23
__copyright__ = "Copyright 2011 hamcrest.org"
34
__license__ = "BSD, see License.txt"
45

56
from hamcrest.core.base_matcher import BaseMatcher
67
from hamcrest.core.helpers.wrap_matcher import wrap_matcher, is_matchable_type
7-
from isinstanceof import instance_of
8+
from .isinstanceof import instance_of
89

910

1011
class Is(BaseMatcher):

‎src/hamcrest/core/core/isnone.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
from __future__ import absolute_import
12
__author__ = "Jon Reid"
23
__copyright__ = "Copyright 2011 hamcrest.org"
34
__license__ = "BSD, see License.txt"
45

56
from hamcrest.core.base_matcher import BaseMatcher
6-
from isnot import is_not
7+
from .isnot import is_not
78

89

910
class IsNone(BaseMatcher):

‎src/hamcrest/core/core/isnot.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
from __future__ import absolute_import
12
__author__ = "Jon Reid"
23
__copyright__ = "Copyright 2011 hamcrest.org"
34
__license__ = "BSD, see License.txt"
45

56
from hamcrest.core.base_matcher import BaseMatcher, Matcher
67
from hamcrest.core.helpers.wrap_matcher import wrap_matcher, is_matchable_type
7-
from isequal import equal_to
8-
from isinstanceof import instance_of
8+
from .isequal import equal_to
9+
from .isinstanceof import instance_of
910

1011

1112
class IsNot(BaseMatcher):

‎src/hamcrest/core/helpers/wrap_matcher.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import six
2+
13
from hamcrest.core.base_matcher import Matcher
24
from hamcrest.core.core.isequal import equal_to
35

@@ -23,7 +25,7 @@ def is_matchable_type(expected_type):
2325
if isinstance(expected_type, type):
2426
return True
2527

26-
if type(expected_type) == types.ClassType:
28+
if isinstance(expected_type, six.class_types):
2729
return True
2830

2931
return False

‎src/hamcrest/core/matcher.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from selfdescribing import SelfDescribing
1+
from __future__ import absolute_import
2+
from .selfdescribing import SelfDescribing
23

34
__author__ = "Jon Reid"
45
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/core/string_description.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from base_description import BaseDescription
1+
from __future__ import absolute_import
2+
from .base_description import BaseDescription
23

34
__author__ = "Jon Reid"
45
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/library/__init__.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
from __future__ import absolute_import
12
"""Library of Matcher implementations."""
23

34
from hamcrest.core import *
4-
from collection import *
5-
from integration import *
6-
from number import *
7-
from object import *
8-
from text import *
5+
from hamcrest.library.collection import *
6+
from hamcrest.library.integration import *
7+
from hamcrest.library.number import *
8+
from hamcrest.library.object import *
9+
from hamcrest.library.text import *
910

1011
__author__ = "Jon Reid"
1112
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/library/collection/issequence_onlycontaining.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ def only_contains(*items):
5252
matchers = []
5353
for item in items:
5454
matchers.append(wrap_matcher(item))
55-
return IsSequenceOnlyContaining(apply(any_of, matchers))
55+
return IsSequenceOnlyContaining(any_of(*matchers))

‎src/hamcrest/library/integration/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
from __future__ import absolute_import
12
"""Utilities for integrating Hamcrest with other libraries."""
23

3-
from match_equality import match_equality
4+
from .match_equality import match_equality
45

56
__author__ = "Jon Reid"
67
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/library/number/__init__.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
from __future__ import absolute_import
12
"""Matchers that perform numeric comparisons."""
23

3-
from iscloseto import close_to
4-
from ordering_comparison import greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to
4+
from .iscloseto import close_to
5+
from .ordering_comparison import greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to
56

67
__author__ = "Jon Reid"
78
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/library/number/iscloseto.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import six
12
from hamcrest.core.base_matcher import BaseMatcher
23
from math import fabs
34

@@ -9,7 +10,7 @@
910
def isnumeric(value):
1011
"""Confirm that 'value' can be treated numerically; duck-test accordingly
1112
"""
12-
if isinstance(value, (int, float, complex, long)):
13+
if isinstance(value, (float, complex) + six.integer_types):
1314
return True
1415

1516
try:

‎src/hamcrest/library/object/__init__.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
from __future__ import absolute_import
12
"""Matchers that inspect objects and classes."""
23

3-
from haslength import has_length
4-
from hasproperty import has_property, has_properties
5-
from hasstring import has_string
4+
from .haslength import has_length
5+
from .hasproperty import has_property, has_properties
6+
from .hasstring import has_string
67

78
__author__ = "Jon Reid"
89
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/library/text/__init__.py

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1+
from __future__ import absolute_import
12
"""Matchers that perform text comparisons."""
23

3-
from isequal_ignoring_case import equal_to_ignoring_case
4-
from isequal_ignoring_whitespace import equal_to_ignoring_whitespace
5-
from stringcontains import contains_string
6-
from stringendswith import ends_with
7-
from stringstartswith import starts_with
8-
from stringmatches import matches_regexp
9-
from stringcontainsinorder import string_contains_in_order
4+
from .isequal_ignoring_case import equal_to_ignoring_case
5+
from .isequal_ignoring_whitespace import equal_to_ignoring_whitespace
6+
from .stringcontains import contains_string
7+
from .stringendswith import ends_with
8+
from .stringstartswith import starts_with
9+
from .stringmatches import matches_regexp
10+
from .stringcontainsinorder import string_contains_in_order
1011

1112
__author__ = "Jon Reid"
1213
__copyright__ = "Copyright 2011 hamcrest.org"

‎src/hamcrest/library/text/isequal_ignoring_case.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
from hamcrest.core.base_matcher import BaseMatcher
2-
31
__author__ = "Jon Reid"
42
__copyright__ = "Copyright 2011 hamcrest.org"
53
__license__ = "BSD, see License.txt"
64

5+
from hamcrest.core.base_matcher import BaseMatcher
6+
7+
import six
78

89
class IsEqualIgnoringCase(BaseMatcher):
910

1011
def __init__(self, string):
11-
if not isinstance(string, basestring):
12+
if not isinstance(string, six.string_types):
1213
raise TypeError('IsEqualIgnoringCase requires string')
1314
self.original_string = string
1415
self.lowered_string = string.lower()
1516

1617
def _matches(self, item):
17-
if not isinstance(item, basestring):
18+
if not isinstance(item, six.string_types):
1819
return False
1920
return self.lowered_string == item.lower()
2021

‎src/hamcrest/library/text/isequal_ignoring_whitespace.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
from hamcrest.core.base_matcher import BaseMatcher
2-
31
__author__ = "Jon Reid"
42
__copyright__ = "Copyright 2011 hamcrest.org"
53
__license__ = "BSD, see License.txt"
64

5+
from hamcrest.core.base_matcher import BaseMatcher
6+
7+
import six
78

89
def stripspace(string):
910
result = ''
@@ -22,13 +23,13 @@ def stripspace(string):
2223
class IsEqualIgnoringWhiteSpace(BaseMatcher):
2324

2425
def __init__(self, string):
25-
if not isinstance(string, basestring):
26+
if not isinstance(string, six.string_types):
2627
raise TypeError('IsEqualIgnoringWhiteSpace requires string')
2728
self.original_string = string
2829
self.stripped_string = stripspace(string)
2930

3031
def _matches(self, item):
31-
if not isinstance(item, basestring):
32+
if not isinstance(item, six.string_types):
3233
return False
3334
return self.stripped_string == stripspace(item)
3435

‎src/hamcrest/library/text/stringcontainsinorder.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
from hamcrest.core.base_matcher import BaseMatcher
2-
from hamcrest.core.helpers.hasmethod import hasmethod
3-
41
__author__ = "Romilly Cocking"
52
__copyright__ = "Copyright 2011 hamcrest.org"
63
__license__ = "BSD, see License.txt"
74

5+
from hamcrest.core.base_matcher import BaseMatcher
6+
from hamcrest.core.helpers.hasmethod import hasmethod
7+
8+
import six
89

910
class StringContainsInOrder(BaseMatcher):
1011

1112
def __init__(self, *substrings):
1213
for substring in substrings:
13-
if not isinstance(substring, basestring):
14+
if not isinstance(substring, six.string_types):
1415
raise TypeError(self.__class__.__name__
1516
+ ' requires string arguments')
1617
self.substrings = substrings

‎src/hamcrest/library/text/stringmatches.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
from hamcrest.core.base_matcher import BaseMatcher
2-
from hamcrest.core.helpers.hasmethod import hasmethod
3-
import re
4-
51
__author__ = "Chris Rose"
62
__copyright__ = "Copyright 2011 hamcrest.org"
73
__license__ = "BSD, see License.txt"
84

5+
import re
6+
7+
import six
8+
9+
from hamcrest.core.base_matcher import BaseMatcher
10+
from hamcrest.core.helpers.hasmethod import hasmethod
911

1012
class StringMatchesPattern(BaseMatcher):
1113

@@ -32,7 +34,7 @@ def matches_regexp(pattern):
3234
evaluated object.
3335
3436
"""
35-
if isinstance(pattern, basestring):
37+
if isinstance(pattern, six.string_types):
3638
pattern = re.compile(pattern)
3739

3840
return StringMatchesPattern(pattern)

‎src/hamcrest/library/text/substringmatcher.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
from hamcrest.core.base_matcher import BaseMatcher
2-
31
__author__ = "Jon Reid"
42
__copyright__ = "Copyright 2011 hamcrest.org"
53
__license__ = "BSD, see License.txt"
64

5+
from hamcrest.core.base_matcher import BaseMatcher
6+
7+
import six
78

89
class SubstringMatcher(BaseMatcher):
910

1011
def __init__(self, substring):
11-
if not isinstance(substring, basestring):
12+
if not isinstance(substring, six.string_types):
1213
raise TypeError(self.__class__.__name__ + ' requires string')
1314
self.substring = substring
1415

‎tox.ini

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py25,py26,py27,py32,py33,pypy
2+
envlist = py26,py27,py32,py33,pypy
33
# envlist = py26,py27,py27-numpy,py32,py33,py33-numpy,pypy
44
# Jython is not testable, but there's no reason it should not work.
55
# py25 and py31 are deprecated as of 1.7.2
@@ -8,30 +8,29 @@ envlist = py25,py26,py27,py32,py33,pypy
88
commands = {envbindir}/py.test []
99
{envpython} tests/object_import.py
1010
deps = pytest
11-
six
1211
unittest2
1312

1413
[testenv:py25]
1514
setenv = PIP_INSECURE=1
1615
commands = {envbindir}/py.test []
16+
deps = pytest
17+
six
18+
unittest2
1719

1820
[testenv:py31] # deprecated as of 1.7.2
1921
commands = {envbindir}/py.test []
2022
{envpython} tests/object_import.py
2123
deps = pytest
22-
six
2324

2425
[testenv:py32]
2526
commands = {envbindir}/py.test []
2627
{envpython} tests/object_import.py
2728
deps = pytest
28-
six
2929

3030
[testenv:py33]
3131
commands = {envbindir}/py.test []
3232
{envpython} tests/object_import.py
3333
deps = pytest
34-
six
3534
setenv =
3635
PYTHONHASHSEED = 1
3736

@@ -41,15 +40,13 @@ commands = {envbindir}/py.test []
4140

4241
[testenv:jython]
4342
deps = pytest
44-
six
4543
commands = {envbindir}/jython tests/alltests.py []
4644
{envpython} tests/object_import.py
4745

4846
[testenv:py27-numpy]
4947
commands = {envbindir}/py.test []
5048
{envpython} tests/object_import.py
5149
deps = pytest
52-
six
5350
unittest2
5451
numpy
5552

@@ -58,7 +55,6 @@ basepython = python3.3
5855
commands = {envbindir}/py.test []
5956
{envpython} tests/object_import.py
6057
deps = pytest
61-
six
6258
numpy
6359
setenv =
6460
PYTHONHASHSEED = 1

0 commit comments

Comments
 (0)
Please sign in to comment.