Skip to content

Commit 1eafdca

Browse files
chore: Replace django.utils.timezone.utc with dateutil.timezone.utc
1 parent fdc074b commit 1eafdca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/api/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def test_api_new_meeting_registration(self):
691691
self.assertEqual(set(missing_fields), set(drop_fields))
692692

693693
def test_api_version(self):
694-
DumpInfo.objects.create(date=timezone.datetime(2022,8,31,7,10,1,tzinfo=timezone.utc), host='testapi.example.com',tz='UTC')
694+
DumpInfo.objects.create(date=timezone.datetime(2022,8,31,7,10,1,tzinfo=datetime.timezone.utc), host='testapi.example.com',tz='UTC')
695695
url = urlreverse('ietf.api.views.version')
696696
r = self.client.get(url)
697697
data = r.json()

0 commit comments

Comments
 (0)