forked from orbit-oss/flask
Fixed a broken test
This commit is contained in:
parent
16df96c552
commit
85ba8c96e9
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,8 @@ class ExtImportHookTestCase(FlaskTestCase):
|
|||
self.assert_equal(str(exc_value), message)
|
||||
self.assert_true(tb.tb_frame.f_globals is globals())
|
||||
|
||||
next = tb.tb_next
|
||||
# reraise() adds a second frame so we need to skip that one too.
|
||||
next = tb.tb_next.tb_next
|
||||
self.assert_in('flask_broken/__init__.py', next.tb_frame.f_code.co_filename)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue