Changes between Version 1 and Version 2 of Ticket #33906


Ignore:
Timestamp:
Aug 8, 2022, 3:48:20 AM (2 years ago)
Author:
an-mile
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33906 – Description

    v1 v2  
    6161AssertionError: 1 != 2
    6262}}}
    63 But when uncommenting the "NammeErrorWouldRaiseHere" ,  "Hello Dear Django Coders!'"  is not printed, nor is the last "AssertionError" executed. This seems confusing and inconsistent behavior.
     63[Edit: It will also print "Hello Dear Django Coders!"]. But when uncommenting the "NammeErrorWouldRaiseHere" ,  "Hello Dear Django Coders!'"  is not printed, nor is the last "AssertionError" executed. This seems confusing and inconsistent behavior.
    6464
    6565It appears on SQLite as well as with PsycoPg / PG. Furthermore, the exception can not be captured within the Code with a regular try-except. Following modification of the test will not print "Hello" :
Back to Top