Skip to content

Commit 51ebed2

Browse files
committed
fix py2.7
1 parent 6d5c746 commit 51ebed2

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ install:
2323
- pip install pycodestyle
2424
- pip install flake8
2525
- pip install codecov
26+
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install "pytest<5.0"; fi
2627
script:
2728
- if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then pycodestyle .; fi
2829
- if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then flake8 .; fi

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@
2525

2626
install_requires = []
2727
setup_requires = ['pytest-runner']
28-
tests_require = [
29-
'pytest<5.0;python_version<"3.0"',
30-
'pytest;python_version>="3.0"',
31-
'pytest-cov',
32-
]
28+
tests_require = ['pytest', 'pytest-cov']
3329

3430
setup(
3531
name='torch_scatter',

0 commit comments

Comments
 (0)