forked from orbit-oss/flask
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 os
|
||||
import gc
|
||||
import sys
|
||||
|
|
@ -77,7 +75,7 @@ class MemoryTestCase(FlaskTestCase):
|
|||
if sys.version_info >= (2, 7) and \
|
||||
not hasattr(sys, 'pypy_translation_info'):
|
||||
with self.assert_no_leak():
|
||||
for x in xrange(10):
|
||||
for x in range(10):
|
||||
fire()
|
||||
|
||||
def test_safe_join_toplevel_pardir(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue