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

jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 8a1b84dc54 Fix typo in contributing doc about skipping unit_tests 
(#41108)
8a1b84dc54 is described below

commit 8a1b84dc54b403985e64a9cdb88e9731e83c8b39
Author: raphaelauv <[email protected]>
AuthorDate: Tue Jul 30 05:38:41 2024 +0200

    Fix typo in contributing doc about skipping unit_tests (#41108)
---
 contributing-docs/testing/unit_tests.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contributing-docs/testing/unit_tests.rst 
b/contributing-docs/testing/unit_tests.rst
index fd8ace55e0..c83f391e52 100644
--- a/contributing-docs/testing/unit_tests.rst
+++ b/contributing-docs/testing/unit_tests.rst
@@ -1187,7 +1187,7 @@ are not part of the public API. We deal with it in one of 
the following ways:
   from tests.test_utils.compat import AIRFLOW_V_2_7_PLUS
 
 
-  @pytest.mark.skip(not AIRFLOW_V_2_7_PLUS, reason="The tests should be 
skipped for Airflow < 2.7")
+  @pytest.mark.skipif(not AIRFLOW_V_2_7_PLUS, reason="The tests should be 
skipped for Airflow < 2.7")
   def some_test_that_only_works_for_airflow_2_7_plus():
       pass
 

Reply via email to