Thomas Waldmann
13cc69911c
fix typos
12 years ago
Thomas Waldmann
f9e9e77464
fix data types in after_request test
...
TODO: why was that bug not causing / displaying an exception somehow?
should give a TypeError in py 3.3.
12 years ago
Thomas Waldmann
96b8ffbb29
always import from ._compat
12 years ago
Thomas Waldmann
83f7658572
fix metaclass usage for py3
12 years ago
Thomas Waldmann
af5576a6c5
fix iterator in testsuite helpers
12 years ago
Thomas Waldmann
8bb972e5ae
fix minitwit/flaskr test errors, improve docs about file open mode
...
app.open_resource needs to get called with the correct mode param (python3
will read bytes [not str] if the wrong mode is used), add mode param docs.
rv.data is bytes, fix the data type we compare it with to be also bytes
12 years ago
Armin Ronacher
85ba8c96e9
Fixed a broken test
12 years ago
Armin Ronacher
16df96c552
Merge branch 'master' into sprint-branch
12 years ago
Armin Ronacher
4c27f7a8c4
Removed incorrect JSON exception subclasses
12 years ago
Armin Ronacher
eb023bcfad
Support old and new name for json
12 years ago
Daniel Neuhäuser
79ec3d81c1
Prevent UnboundLocalError in test_build_error_handler
12 years ago
Daniel Neuhäuser
43b6d0a6d0
Ensure that config file is closed immediately
12 years ago
Daniel Neuhäuser
a0801719f8
Remove six dependency
12 years ago
Daniel Neuhäuser
135c53a5f2
Fix .iteritems() access in flask.sessions
12 years ago
Daniel Neuhäuser
d395d3684a
Merge pull request #739 from untitaker/sprint-branch
...
Fix leak in leak detection code
12 years ago
Markus Unterwaditzer
3d36d6efb9
Fix leak in leak detection code
...
If ensure_clean_request_context found a leak, it would raise an
AssertionError and not clean up the leak, and therefore affect other
testcases.
12 years ago
Daniel Neuhäuser
4bea6bbe6d
Make DebugFilesKeyError.__str__ return str on 3.x
12 years ago
Daniel Neuhäuser
3f80b0fd6c
module name is quoted in ImportErrors on 3.x
12 years ago
Daniel Neuhäuser
8f73c552a9
Add missing assertIn, assertNotIn methods on 2.6
12 years ago
Daniel Neuhäuser
62e7275bdf
Use assert_false where appropriate
12 years ago
Daniel Neuhäuser
9f8a2075c7
Use assert_in where appropriate
12 years ago
Daniel Neuhäuser
4d73ef1a19
Add missing msg argument to assert_true()
12 years ago
Daniel Neuhäuser
8e9f0bdedc
Use assert_equal instead of assertEquals
...
assertEquals is deprecated and its use inconsistent
12 years ago
Daniel Neuhäuser
239780be28
Use assert_true instead of assert_
...
assert_ is deprecated which causes annoying warnings
12 years ago
Daniel Neuhäuser
5b89355b1c
Response data is bytes
12 years ago
Daniel Neuhäuser
97815b999e
Merge pull request #737 from untitaker/sprint-branch
...
Fix some literals
12 years ago
Markus Unterwaditzer
05f66ad735
Fix some literals
12 years ago
Daniel Neuhäuser
3f51a09db4
itsdangerous uses json instead of simplejson now
12 years ago
Daniel Neuhäuser
884aad8ece
Test using itsdangerous with 3.x support
12 years ago
Daniel Neuhäuser
ee013e01b0
Merge pull request #736 from ThomasWaldmann/sprint-branch
...
some more work on py 3.3 port
12 years ago
Daniel Neuhäuser
da5edad23a
Use werkzeug@sprint-branch in tox
12 years ago
Thomas Waldmann
e1d356fb71
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
12 years ago
Thomas Waldmann
a503520ac5
copy _compat.py from flask in here (and adapt docstring)
12 years ago
Armin Ronacher
aecc41deb8
Restore 2.5 support for the time being
12 years ago
Armin Ronacher
81c9b3570b
Removed 2.5 from travis
12 years ago
Daniel Neuhäuser
ceb7c7f771
Don't notify IRC for this branch
12 years ago
Daniel Neuhäuser
506db0eab2
Use print_function
12 years ago
Daniel Neuhäuser
c618db92d6
reload_module is in six.moves
12 years ago
Daniel Neuhäuser
8494574fdf
Merge branch 'six' of github.com:ThomasWaldmann/flask into ThomasWaldmann-six
...
Conflicts:
flask/testsuite/__init__.py
12 years ago
Thomas Waldmann
287905e67c
py3 compat: use six.reload_module
12 years ago
Daniel Neuhäuser
aba1d3a507
Test on 3.3 on travis
12 years ago
Daniel Neuhäuser
323a840c5a
Add tox.ini
12 years ago
Thomas Waldmann
522cd00093
python-modernize automated changes: fix_unicode (but without six.u())
12 years ago
Thomas Waldmann
dcd052366b
python-modernize automated changes: fix_next
12 years ago
Thomas Waldmann
0f8c47c988
python-modernize automated changes: fix_dict
12 years ago
Thomas Waldmann
cfbfff2d26
python-modernize automated changes: misc. minor stuff
12 years ago
Thomas Waldmann
1b753cb1b1
require 'six' in setup.py, add flask._compat for stuff not yet in 'six'
12 years ago
Daniel Neuhäuser
05923f7f2f
Merge branch 'exec' of github.com:ThomasWaldmann/flask into sprint-branch
...
Conflicts:
flask/config.py
12 years ago
Daniel Neuhäuser
26a9e90734
Merge pull request #734 from ThomasWaldmann/methodattrs
...
automated change using python-modernize: fix methodattrs
12 years ago
Daniel Neuhäuser
bbdfc83902
Merge pull request #732 from ThomasWaldmann/exceptions_as
...
automated change using python-modernize: use 'as' in except
12 years ago