#35986: Some unit tests in forms_tests.tests.test_input_formats not running
-------------------------------------+-------------------------------------
     Reporter:  Arthur Pemberton     |                     Type:  Bug
       Status:  new                  |                Component:
                                     |  Uncategorized
      Version:  5.1                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 For example, the test "CustomTimeInputFormatsTests" does not get
 discovered and ran via:
 `./runtests.py forms_tests.tests.test_input_formats`

 And attempting to run the test direct with `./runtests.py
 forms_tests.tests.test_input_formats.CustomTimeInputFormatsTests` results
 in an error:
     AttributeError: 'CustomTimeInputFormatsTests' object has no attribute
 'runTest'. Did you mean: 'subTest'?

 Using Python 3.12, I followed the steps from
 https://docs.djangoproject.com/en/dev/internals/contributing/writing-code
 /unit-tests/#running-the-unit-tests to setup a clean environment.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35986>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070193aaf15e5e-38b70dc9-6dd6-4cf1-bb73-dfb67672369e-000000%40eu-central-1.amazonses.com.

Reply via email to