Merge pull request #862 from bikerm16/master

Minor test fixes
This commit is contained in:
Kenneth Reitz 2014-03-21 16:39:13 -04:00
commit 4c0253f9fd
2 changed files with 4 additions and 2 deletions

View file

@ -125,7 +125,9 @@ class ExtImportHookTestCase(FlaskTestCase):
next = tb.tb_next.tb_next
if not PY2:
next = next.tb_next
self.assert_in('flask_broken/__init__.py', next.tb_frame.f_code.co_filename)
import os.path
self.assert_in(os.path.join('flask_broken', '__init__.py'), next.tb_frame.f_code.co_filename)
def suite():