replace 1/0 by 1 // 0 to get rid of DeprecationWarning (and PEP8 issue)

This commit is contained in:
Thomas Waldmann 2013-05-26 20:33:22 +02:00
parent 0f5d8c258c
commit ac04bc7836
6 changed files with 13 additions and 13 deletions

View file

@ -30,7 +30,7 @@ class FlaskSubclassingTestCase(FlaskTestCase):
@app.route('/')
def index():
1/0
1 // 0
rv = app.test_client().get('/')
self.assert_equal(rv.status_code, 500)