forked from cyrozap/python-vipaccess
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace nose (unmaintained) with nose2, remove Python 3.5 from CI (EO…
…L), add warning to slow test, call it v0.14 for real this time Potential FIXMEs for nose2? It has some frustrating differences from nose (https://docs.nose2.io/en/latest/differences.html), including: - lack of 'assert_[a-z]' or 'assert[A-Z]*' functions, except as *methods* of unittest.TestCase subclasses - inability to set '--verbose' when running as 'python setup.py test' (I tried adding '[unittest]\nverbosity = 2' to setup.cfg... does nothing, unlike putting it in unittest.cfg, which works but only when running explicitly via 'nose2' CLI)
- Loading branch information
Showing
5 changed files
with
31 additions
and
28 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
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,2 +1,2 @@ | ||
nose>=1.0 | ||
nose2 | ||
coverage |
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,2 +1,6 @@ | ||
[coverage:run] | ||
relative_files = True | ||
|
||
# Ensures that --pretty-assert is on even when run as 'python setup.py test' | ||
[pretty-assert] | ||
always-on = True |
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