Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Adapt expected traceback regexes for Python 3.11.0a1 #1527

Merged
merged 1 commit into from Nov 5, 2021

Commits on Nov 5, 2021

  1. Tests: Adapt expected traceback regexes for Python 3.11.0a1

    Fixes pallets#1526
    
    Before:
    
          File ".../broken.html", line 2, in <module>
            {{ fail() }}
          File ".../test_debug.py", line 32, in <lambda>
            tmpl.render(fail=lambda: 1 / 0)
        ZeroDivisionError: division by zero
    
    After:
    
          File ".../broken.html", line 2, in <module>
            {{ fail() }}
            ^^^^^^^^^^^^
          File ".../test_debug.py", line 32, in <lambda>
            tmpl.render(fail=lambda: 1 / 0)
                                     ~~^~~
        ZeroDivisionError: division by zero
    hroncok authored and davidism committed Nov 5, 2021
    Copy the full SHA
    7577566 View commit details
    Browse the repository at this point in the history