[
https://issues.apache.org/jira/browse/AIRFLOW-6467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008450#comment-17008450
]
ASF GitHub Bot commented on AIRFLOW-6467:
-----------------------------------------
mik-laj commented on pull request #7067: [AIRFLOW-6467] Use self.dag i/o
creating a new one
URL: https://github.com/apache/airflow/pull/7067
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
>
> 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)