-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
collect sawarning as error in pytest #28590
Conversation
Signed-off-by: BobDu <i@bobdu.cc>
@BobDu I think this changes conflicts with pytest-capture-warnings plugin. I check locally and with our current settings and plugins nothing happen, unfortunetly Without disable
|
covert to draft and i will explore this. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
Signed-off-by: BobDu i@bobdu.cc
related: #28198 #28544
Improve unit test make sure there isn't a regression in the future.
when delete
airflow/airflow/jobs/scheduler_job.py
Line 1539 in 6dc28fb
run
pytest tests/jobs/test_scheduler_job.py::TestSchedulerJob::test_find_zombies
while have a error in unit test result
ref: https://docs.python.org/3/library/warnings.html#the-warnings-filter
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.