Commit 0fcc722
committed
Set USE_TZ explicitly to fix some failing tests
In Django's `main` branch, the default value of the `USE_TZ` setting was changed from `False` to `True`
(see django/django@602d9a3),
which caused the tests relying on timezone-naive `datetime` objects, to fail.
Example of some of the failing tests:
https://github.com/jazzband/django-simple-history/actions/runs/4108104757/jobs/7088397467.1 parent eca46b1 commit 0fcc722
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
0 commit comments