You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2018/11/25 16:01:24 UTC

[GitHub] bolkedebruin commented on a change in pull request #4233: [AIRFLOW-3391] Upgrade pendulum. to latest major version.

bolkedebruin commented on a change in pull request #4233: [AIRFLOW-3391] Upgrade pendulum. to latest major version.
URL: https://github.com/apache/incubator-airflow/pull/4233#discussion_r236079009
 
 

 ##########
 File path: tests/models.py
 ##########
 @@ -230,9 +230,9 @@ def test_dag_topological_sort(self):
         self.assertEquals(tuple(), dag.topological_sort())
 
     def test_dag_naive_default_args_start_date(self):
-        dag = DAG('DAG', default_args={'start_date': datetime.datetime(2018, 1, 1)})
+        dag = DAG('DAG', default_args={'start_date': timezone.datetime(2018, 1, 1)})
         self.assertEqual(dag.timezone, settings.TIMEZONE)
-        dag = DAG('DAG', start_date=datetime.datetime(2018, 1, 1))
+        dag = DAG('DAG', start_date=timezone.datetime(2018, 1, 1))
 
 Review comment:
   Idem

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services