The GitHub Actions job "CodeQL" on airflow.git/timemachine-not-patch-utcnow has 
succeeded.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
0af8cae359609a6e2fdd3c757440a770b1231fca / Ash Berlin-Taylor <[email protected]>
Replace `mock.patch("utcnow")` with time_machine.

As part of a future PR we are going to move the location of this function, and 
more
generally we shouldn't be mocking a specific function, time_machine is better
suited to this task.

It would be nice if we could add a ruff/etc rule to forbid this, but I can't
think of a way of enforcing this.

Report URL: https://github.com/apache/airflow/actions/runs/16448460786

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to