forked from orbit-oss/flask
replace 1/0 by 1 // 0 to get rid of DeprecationWarning (and PEP8 issue)
This commit is contained in:
parent
0f5d8c258c
commit
ac04bc7836
6 changed files with 13 additions and 13 deletions
|
|
@ -55,9 +55,9 @@ class ViewTestCase(FlaskTestCase):
|
|||
|
||||
class Index(flask.views.MethodView):
|
||||
def get(self):
|
||||
1/0
|
||||
1 // 0
|
||||
def post(self):
|
||||
1/0
|
||||
1 // 0
|
||||
|
||||
class Other(Index):
|
||||
def get(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue