Skip to content

Commit

Permalink
Update pytest to the latest release because of the error:
Browse files Browse the repository at this point in the history
https://travis-ci.org/github/syrusakbary/promise/jobs/708523881

E   AttributeError: type object 'Function' has no attribute 'from_parent'

latest pytest does not support python 2
  • Loading branch information
Alex committed Jul 15, 2020
1 parent 61f0b86 commit aec0974
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: python
sudo: false
python:
- 2.7
- 3.5
- 3.6
- 3.7
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
IS_PY3 = sys.hexversion >= 0x03000000

tests_require = [
"pytest>=2.7.3",
"pytest>=5.4.3",
"pytest-cov",
"coveralls",
"futures",
Expand Down

0 comments on commit aec0974

Please sign in to comment.