Skip to content
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

Remove deprecated features #5529

Merged
merged 14 commits into from
Jul 9, 2019
Merged

Conversation

nicoddemus
Copy link
Member

@nicoddemus nicoddemus commented Jun 30, 2019

Fix #5180

This is quite a large diff, but can be reviewed on a commit-by-commit basis.

While at it, I noticed a few features deprecated in 3.X and turned into errors still left constants in deprecated.py and tests in deprecated_test.py. I've moved the constants (when applicable, sometimes I just inlined them) and tests to the their now appropriate location.

@codecov
Copy link

codecov bot commented Jun 30, 2019

Codecov Report

Merging #5529 into features will decrease coverage by 0.04%.
The diff coverage is 97.14%.

Impacted file tree graph

@@             Coverage Diff              @@
##           features    #5529      +/-   ##
============================================
- Coverage     96.08%   96.04%   -0.05%     
============================================
  Files           117      117              
  Lines         25695    25533     -162     
  Branches       2493     2488       -5     
============================================
- Hits          24690    24522     -168     
- Misses          701      706       +5     
- Partials        304      305       +1
Impacted Files Coverage Δ
src/_pytest/warning_types.py 96.29% <ø> (-3.71%) ⬇️
src/_pytest/warnings.py 86.36% <ø> (-0.6%) ⬇️
src/_pytest/main.py 97.29% <ø> (+0.37%) ⬆️
testing/deprecated_test.py 100% <ø> (ø) ⬆️
src/_pytest/deprecated.py 100% <ø> (ø) ⬆️
src/_pytest/hookspec.py 100% <ø> (ø) ⬆️
src/pytest.py 100% <ø> (ø) ⬆️
src/_pytest/tmpdir.py 100% <ø> (ø) ⬆️
testing/test_warnings.py 94.54% <100%> (-5.46%) ⬇️
src/_pytest/config/findpaths.py 94.94% <100%> (-0.06%) ⬇️
... and 19 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f9bf02...dfe54cd. Read the comment docs.

@nicoddemus
Copy link
Member Author

Any more reviewers?

@nicoddemus
Copy link
Member Author

@RonnyPfannschmidt can you please approve if it looks OK to you?

Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, I went commit by commit but didn't really find much to comment on 👍

@nicoddemus
Copy link
Member Author

Thanks!

@nicoddemus nicoddemus merged commit 3173815 into pytest-dev:features Jul 9, 2019
@nicoddemus nicoddemus deleted the removals-5180 branch February 17, 2020 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants