Changes between Version 1 and Version 2 of Ticket #36131, comment 6


Ignore:
Timestamp:
Jan 24, 2025, 6:34:58 AM (4 weeks ago)
Author:
Ludwig Kraatz

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36131, comment 6

    v1 v2  
    99look closely at:
    1010​https://github.com/django/django/pull/19096
     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----------------------------------------------------------------------
     15Traceback (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    ^^^^^^^^^^^^^^^
     35AssertionError: ValidationError not raised
     36}}}
Back to Top