-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to pytest 5.4.0 API #188
Conversation
Half of the CI jobs have an issue with |
From what I found it could be related to versions of |
@GuillaumeFavelier As for this fix, it would be good to also add the current pytest to the matrix. |
Codecov Report
@@ Coverage Diff @@
## master #188 +/- ##
==========================================
+ Coverage 86.01% 86.19% +0.17%
==========================================
Files 2 2
Lines 479 478 -1
Branches 85 85
==========================================
Hits 412 412
Misses 40 40
+ Partials 27 26 -1
Continue to review full report at Codecov.
|
I'm not familiar with By the way, another version of |
Finally! This is ready to go I think 👍 @blueyed I learned a bit about |
Pinging @Teemu as well |
- Teemu/pytest-sugar#188 makes pytest-sugar compatible with pytest 5.4+ - pytest 5.4.0 flipped the signs for assert statement display, so this flips the string to match.
Is this going to be merged in soon? Or is it best to switch to pytest <5.4.0 |
@breneser it also needs to be released. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This will work to get pytest-sugar working until this has merged:
It simply installs the version from @GuillaumeFavelier's fork. |
Thanks for the PR 🎉 |
0.9.3 has been released |
- Teemu/pytest-sugar#188 makes pytest-sugar compatible with pytest 5.4+ - pytest 5.4.0 flipped the signs for assert statement display, so this flips the string to match.
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.5 to 5.4.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](pytest-dev/pytest@5.3.5...5.4.0) Signed-off-by: dependabot-preview[bot] <[email protected]> Update pytest and pytest-sugar, fix test for - Teemu/pytest-sugar#188 makes pytest-sugar compatible with pytest 5.4+ - pytest 5.4.0 flipped the signs for assert statement display, so this flips the string to match. Fix test_fastapi.sh permissions
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.5 to 5.4.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](pytest-dev/pytest@5.3.5...5.4.0) Signed-off-by: dependabot-preview[bot] <[email protected]> Update pytest and pytest-sugar, fix test for - Teemu/pytest-sugar#188 makes pytest-sugar compatible with pytest 5.4+ - pytest 5.4.0 flipped the signs for assert statement display, so this flips the string to match. Fix test_fastapi.sh permissions
This PR uses
self.write()
instead ofself.writer.write()
to follow newpytest 5.4.0
API and avoid usingself.writer
directly which has been deprecated.Closes #187