You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/10 19:54:42 UTC
[jira] [Commented] (AIRFLOW-857) Use unittest.assert instead of
assert
[ https://issues.apache.org/jira/browse/AIRFLOW-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861771#comment-15861771 ]
ASF subversion and git services commented on AIRFLOW-857:
---------------------------------------------------------
Commit 3ceb3abf166b77ea8baeb9015d33223143cdfb8a in incubator-airflow's branch refs/heads/master from [~saguziel]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=3ceb3ab ]
[AIRFLOW-857] Use library assert statements instead of conditionals
Testing Done:
- Travis
Closes #2062 from saguziel/aguziel-fix-asserts
> Use unittest.assert instead of assert
> -------------------------------------
>
> Key: AIRFLOW-857
> URL: https://issues.apache.org/jira/browse/AIRFLOW-857
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Alex Guziel
> Assignee: Alex Guziel
> Priority: Minor
>
> Right now, unit tests do something like
> `assert x == y`
> which gives less descriptive output in case of failure than
> `assertEqual(x, y)`
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)