Skip to content
Myr

Adjusted a testcase for Python 3

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent f191809 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:flask/testsuite/ext.py+3 added
119 unmodified lines
120 self.assert_equal(str(exc_value), message)121 self.assert_true(tb.tb_frame.f_globals is globals())122123 # reraise() adds a second frame so we need to skip that one too.124 # On PY3 we even have another one :(125 next = tb.tb_next.tb_next126 if not PY2:127 next = next.tb_next128 self.assert_in('flask_broken/__init__.py', next.tb_frame.f_code.co_filename)129130131def suite():
3 unmodified lines