Skip to content

Fix tests with mock timezone#7911

Merged
adamchainz merged 1 commit intoencode:masterfrom
terencehonles:fix-tests-with-Django-3.2
Apr 16, 2021
Merged

Fix tests with mock timezone#7911
adamchainz merged 1 commit intoencode:masterfrom
terencehonles:fix-tests-with-Django-3.2

Conversation

@terencehonles
Copy link
Contributor

@adamchainz adamchainz changed the title fix tests with mock timezone after django/django#13877 Fix tests with mock timezone Apr 16, 2021
@adamchainz adamchainz merged commit a0a2c5c into encode:master Apr 16, 2021
@adamchainz
Copy link
Contributor

Thanks for this. I'm also fixing the CI not to ignore failures on Django 3.2 in #7927

@terencehonles terencehonles deleted the fix-tests-with-Django-3.2 branch April 16, 2021 20:22
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
After django/django#13877, Django no longer checks for `hasattr(timezone, 'localize')` and instead does an inheritance check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants