| | 11 | |
| | 12 | {{{ |
| | 13 | FAIL: test_urlfield_clean_invalid (forms_tests.field_tests.test_urlfield.URLFieldTest.test_urlfield_clean_invalid) [<object object at 0x000002C811AD0FE0>] (value='localhost') |
| | 14 | ---------------------------------------------------------------------- |
| | 15 | Traceback (most recent call last): |
| | 16 | File "C:\hostedtoolcache\windows\Python\3.13.1\x64\Lib\unittest\case.py", line 58, in testPartExecutor |
| | 17 | yield |
| | 18 | File "C:\hostedtoolcache\windows\Python\3.13.1\x64\Lib\unittest\case.py", line 556, in subTest |
| | 19 | yield |
| | 20 | File "D:\a\django\django\tests\forms_tests\field_tests\test_urlfield.py", line 114, in test_urlfield_clean_invalid |
| | 21 | with self.assertRaisesMessage(ValidationError, msg): |
| | 22 | ^^^^^^^ |
| | 23 | File "C:\hostedtoolcache\windows\Python\3.13.1\x64\Lib\contextlib.py", line 148, in __exit__ |
| | 24 | next(self.gen) |
| | 25 | ^^^^^^^ |
| | 26 | File "D:\a\django\django\django\test\testcases.py", line 807, in _assert_raises_or_warns_cm |
| | 27 | with func(expected_exception) as cm: |
| | 28 | ^^^^^^^^^^^^^^^ |
| | 29 | File "C:\hostedtoolcache\windows\Python\3.13.1\x64\Lib\unittest\case.py", line 263, in __exit__ |
| | 30 | self._raiseFailure("{} not raised".format(exc_name)) |
| | 31 | ^^^^^^^ |
| | 32 | File "C:\hostedtoolcache\windows\Python\3.13.1\x64\Lib\unittest\case.py", line 200, in _raiseFailure |
| | 33 | raise self.test_case.failureException(msg) |
| | 34 | ^^^^^^^^^^^^^^^ |
| | 35 | AssertionError: ValidationError not raised |
| | 36 | }}} |