Skip to content

Commit

Permalink
fixing py2 false_app
Browse files Browse the repository at this point in the history
  • Loading branch information
mrf345 committed Jul 15, 2018
1 parent e997d72 commit 82fe4a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_fg.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_false_app_gtts(client):
except Exception as e3:
global eng
eng = gtts(app=app, route=True)
assert type(e3) == AttributeError if V.major == 2 else TypeError
assert type(e3) == (AttributeError if V.major == 2 else TypeError)

def test_template_sayit_mp3(client):
""" test sayit function in the template returns .mp3 """
Expand Down

0 comments on commit 82fe4a4

Please sign in to comment.