This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new 905741f34ca [v3-0-test] Remove PytestReturnNotNoneWarning (#51327) 
(#51332)
905741f34ca is described below

commit 905741f34ca0410ed8f1548aa6ae36c8894e9297
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 3 00:32:19 2025 +0200

    [v3-0-test] Remove PytestReturnNotNoneWarning (#51327) (#51332)
    
    (cherry picked from commit 2624df691a08463271017430f30fd4d17492b1ff)
    
    Co-authored-by: GPK <[email protected]>
---
 airflow-ctl/pyproject.toml | 1 -
 pyproject.toml             | 1 -
 task-sdk/pyproject.toml    | 1 -
 3 files changed, 3 deletions(-)

diff --git a/airflow-ctl/pyproject.toml b/airflow-ctl/pyproject.toml
index 08ec690a82c..e9bbc394453 100644
--- a/airflow-ctl/pyproject.toml
+++ b/airflow-ctl/pyproject.toml
@@ -154,7 +154,6 @@ norecursedirs = [
 log_level = "INFO"
 filterwarnings = [
     "error::pytest.PytestCollectionWarning",
-    "error::pytest.PytestReturnNotNoneWarning",
 ]
 python_files = [
     "test_*.py",
diff --git a/pyproject.toml b/pyproject.toml
index f67170042c1..3002e6ab4d8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -870,7 +870,6 @@ norecursedirs = [
 log_level = "INFO"
 filterwarnings = [
     "error::pytest.PytestCollectionWarning",
-    "error::pytest.PytestReturnNotNoneWarning",
     # Avoid building cartesian product which might impact performance
     "error:SELECT statement has a cartesian product between 
FROM:sqlalchemy.exc.SAWarning:airflow",
     'error:Coercing Subquery object into a select\(\) for use in 
IN\(\):sqlalchemy.exc.SAWarning:airflow',
diff --git a/task-sdk/pyproject.toml b/task-sdk/pyproject.toml
index 89de4c0f5d2..071dfc1f1fe 100644
--- a/task-sdk/pyproject.toml
+++ b/task-sdk/pyproject.toml
@@ -199,7 +199,6 @@ norecursedirs = [
 log_level = "INFO"
 filterwarnings = [
     "error::pytest.PytestCollectionWarning",
-    "error::pytest.PytestReturnNotNoneWarning",
 ]
 python_files = [
     "test_*.py",

Reply via email to