ported some more stuff to py 3.3
removed init_jinja_globals hack from app.py after consulting mitsuhiko (didn't work on py 3.3 "as is") removed with_statement future imports, not needed any more needs more work on 2.7 as well as on 3.3
This commit is contained in:
parent
a503520ac5
commit
e1d356fb71
24 changed files with 36 additions and 87 deletions
|
|
@ -9,8 +9,6 @@
|
|||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import re
|
||||
import uuid
|
||||
import flask
|
||||
|
|
@ -1060,7 +1058,7 @@ class BasicFunctionalityTestCase(FlaskTestCase):
|
|||
1/0
|
||||
|
||||
c = app.test_client()
|
||||
for x in xrange(3):
|
||||
for x in range(3):
|
||||
with self.assert_raises(ZeroDivisionError):
|
||||
c.get('/fail')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue