|
Ran
|
Jobs
1
|
Files
134
|
Run time
1min
|
Badge
README BADGES
|
push
github
fix: use configured timezone for MySQL session time_zone (#2127) * fix: use configured timezone for MySQL session time_zone When use_tz=True, the MySQL client was using timezone.now().utcoffset() to compute the session time_zone offset. Since timezone.now() returns a UTC-aware datetime, its utcoffset() is always timedelta(0), so the session was always set to +0:00 regardless of the configured timezone. Use get_default_timezone() to obtain the configured timezone and compute the correct UTC offset from it. Fixes #2114 * style: fix ruff formatting in test_connection_params.py Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 54820eddf)
2993 of 4056 branches covered (73.79%)
Branch coverage included in aggregate %.
7 of 7 new or added lines in 1 file covered. (100.0%)
10998 of 12730 relevant lines covered (86.39%)
0.86 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 22629894961.1 | 134 |
83.35 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|