  from rest_framework.exceptions import ErrorDetail, ValidationError
  from rest_framework.settings import api_settings
  from rest_framework.utils import html, humanize_datetime, json, representation
  from rest_framework.utils.formatting import lazy_format
  from rest_framework.validators import ProhibitSurrogateCharactersValidator
  
  
  class empty:
      """
      This class is used to represent no data being provided for a given input
 
</s> remove class TestNaiveDayLightSavingTimeTimeZoneDateTimeField(FieldValues):
 </s> add @pytest.mark.skipif(pytz is None, reason="As Django 4.0 has deprecated pytz, this test should eventually be able to get removed.")
class TestPytzNaiveDayLightSavingTimeTimeZoneDateTimeField(FieldValues): </s> remove                 return timezone.make_aware(value, field_timezone)
 </s> add                 dt = timezone.make_aware(value, field_timezone)
                # When the resulting datetime is a ZoneInfo instance, it won't necessarily
                # throw given an invalid datetime, so we need to specifically check.
                if not valid_datetime(dt):
                    self.fail('make_aware', timezone=field_timezone)
                return dt </s> remove     def test_valid_inputs(self):
 </s> add     def test_valid_inputs(self, *args):
from rest_framework.utils.timezone import valid_datetime
  from rest_framework.exceptions import ErrorDetail, ValidationError
  from rest_framework.settings import api_settings
  from rest_framework.utils import html, humanize_datetime, json, representation
  from rest_framework.utils.formatting import lazy_format
from rest_framework.utils.timezone import valid_datetime
  from rest_framework.validators import ProhibitSurrogateCharactersValidator
  
  
  class empty:
      """
      This class is used to represent no data being provided for a given input
keep keep keep add keep keep keep keep keep keep
 Use ZoneInfo as primary source of timezone data (#8924)

* Use ZoneInfo as primary source of timezone data

* Update tests/test_fields.py

---------

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com> 
rest_framework/fields.py