You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/09/12 20:08:07 UTC

[airflow] branch main updated: Fix typo in decorator test (#18191)

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

kaxilnaik 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 1fdde76  Fix typo in decorator test (#18191)
1fdde76 is described below

commit 1fdde76d68407b0bad17fa98f2aee4919b46c2cc
Author: Harika <61...@users.noreply.github.com>
AuthorDate: Sun Sep 12 22:07:51 2021 +0200

    Fix typo in decorator test (#18191)
    
    unknow --> unknown
---
 tests/decorators/test_python.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/decorators/test_python.py b/tests/decorators/test_python.py
index d28552a..8782999 100644
--- a/tests/decorators/test_python.py
+++ b/tests/decorators/test_python.py
@@ -414,8 +414,8 @@ class TestAirflowTaskDecorator(TestPythonBase):
         assert ret.operator.owner == 'airflow'
 
         @task_decorator
-        def test_apply_default_raise(unknow):
-            return unknow
+        def test_apply_default_raise(unknown):
+            return unknown
 
         with pytest.raises(TypeError):
             with self.dag: