[
https://issues.apache.org/jira/browse/AIRFLOW-6467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022388#comment-17022388
]
ASF subversion and git services commented on AIRFLOW-6467:
----------------------------------------------------------
Commit a8df08cebc9b1ff4ac5cac5290bca67928453a48 in airflow's branch
refs/heads/v1-10-test from Mustafa Gök
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=a8df08c ]
[AIRFLOW-6467] Use self.dag i/o creating a new one (#7067)
(cherry picked from commit f4c7d17902c87bff50bbd8c94028a539e4e1c3a3)
> Remove unnecessary local variable
> ---------------------------------
>
> Key: AIRFLOW-6467
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6467
> Project: Apache Airflow
> Issue Type: Test
> Components: tests
> Affects Versions: 1.10.7
> Reporter: Mustafa Gök
> Assignee: Mustafa Gök
> Priority: Trivial
> Fix For: 1.10.8
>
>
> In test_templated_sensor (tests/sensors/test_external_task_sensor.py) unit
> test method, self.dag can be used instead of creating a local variable named
> "dag" (line 98).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)