From e9840fbda3ab1482dfa560e6e117626e7ae1791b Mon Sep 17 00:00:00 2001 From: mrampant Date: Tue, 18 Jun 2024 12:45:49 -0400 Subject: [PATCH] - fixed tests for python 3.8 --- NEMO/tests/test_formats.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/NEMO/tests/test_formats.py b/NEMO/tests/test_formats.py index a4719239..53e5c342 100644 --- a/NEMO/tests/test_formats.py +++ b/NEMO/tests/test_formats.py @@ -1,5 +1,9 @@ import datetime -import zoneinfo + +try: + import zoneinfo +except ImportError: + from backports import zoneinfo from django.conf import settings from django.test import TestCase