@override_settings(USE_TZ=True)
    def test_07b_values(self):
        Event.objects.create(name="foo", when=timezone.now())
        list(Event.objects.values_list('when'))
Testing values() and values_list() with aware datetime. See #21565.
dataset/ETHPy150Open django/django/tests/gis_tests/relatedapp/tests.py/RelatedGeoModelTest.test_07b_values