An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
>>> import six
>>> text = 'test_str'
>>> six.u(text)
'test_str'
>>> six.u(text, 'utf-8')
Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: u() takes 1 positional argument but 2 were given
It looks like
six.u
only takes one argument but it was being called with two.six.u(text)