uranusjr commented on code in PR #30243:
URL: https://github.com/apache/airflow/pull/30243#discussion_r1147040115
##########
tests/dag_processing/test_manager.py:
##########
@@ -343,14 +344,36 @@ def test_file_paths_in_queue_sorted_random_seeded_by_host(
manager.prepare_file_path_queue()
assert manager._file_path_queue == expected_order
+ @pytest.fixture
+ def change_platform_timezone(self, monkeypatch):
+ monkeypatch.setenv("TZ", "Europe/Paris")
+
+ # propagate new timezone to C routines (unix only)
Review Comment:
Would be a good to add the reference in the comment to explain why Windows
doesn’t need this.
Otherwise looks good to me.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]