[ 
https://issues.apache.org/jira/browse/AIRFLOW-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748102#comment-16748102
 ] 

ASF GitHub Bot commented on AIRFLOW-3744:
-----------------------------------------

mik-laj commented on pull request #4568: [AIRFLOW-3744] Abandon the use of 
obsolete aliases of methods
URL: https://github.com/apache/airflow/pull/4568
 
 
   Make sure you have checked _all_ steps below.
   
   ### Jira
   
     - https://issues.apache.org/jira/browse/AIRFLOW-3744
   
   ### Description
   
   New versions of Python have marked some methods as obsolete. This change 
replaces valid calls.
   https://docs.python.org/3/library/unittest.html#deprecated-aliases
   
   ### Tests
   
   Not applicable.
   
   ### Commits
   
   - [ ] My commits all reference Jira issues in their subject lines, and I 
have squashed multiple commits if they address the same issue. In addition, my 
commits follow the guidelines from "[How to write a good git commit 
message](http://chris.beams.io/posts/git-commit/)":
     1. Subject is separated from body by a blank line
     1. Subject is limited to 50 characters (not including Jira issue reference)
     1. Subject does not end with a period
     1. Subject uses the imperative mood ("add", not "adding")
     1. Body wraps at 72 characters
     1. Body explains "what" and "why", not "how"
   
   ### Documentation
   
   Not applicable.
   
   ### Code Quality
   
   - [X] Passes `flake8`
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Usage of deprecated method in Unit Tests
> ----------------------------------------
>
>                 Key: AIRFLOW-3744
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3744
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Kamil Bregula
>            Assignee: Kamil Bregula
>            Priority: Major
>
> Some tests use a deprecated alias: 
> [https://docs.python.org/3/library/unittest.html#deprecated-aliases]
> These tests should stop doing this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to