-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tox config and address warnings (#85)
* Update and fix tox config, update .gitignore * Address warnings - use assertRaisesRegex instead of assertRaisesRegexp - use a raw string for a regex pattern to handle escape sequences properly
- Loading branch information
1 parent
844d79c
commit 63af9b1
Showing
5 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ dist | |
|
||
.eggs | ||
.tox | ||
.coverage* | ||
.pytest_cache | ||
.idea | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
[tox] | ||
envlist=py27,py37 | ||
envlist = py38,py39 | ||
|
||
[testenv] | ||
deps=pytest | ||
pytest-cov | ||
extras = server | ||
deps = pytest | ||
pytest-cov | ||
setenv = | ||
# Needed for systems with an AGPL-licensed Berkeley DB | ||
YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION = 1 | ||
commands = pytest --cov=./ {posargs} |