Skip to content

Commit

Permalink
Fix any-string test in OAuth tests for Python 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
enote-kane committed Apr 27, 2020
1 parent 94506b1 commit f3c17b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fxa/tests/test_oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def test_monkey_patch_for_gevent(self):
class AnyStringValue:

def __eq__(self, other):
return isinstance(other, str)
return isinstance(other, six.string_types)

def __repr__(self):
return 'any string'

0 comments on commit f3c17b9

Please sign in to comment.