ishiland / python-geosupport

Python bindings for NYC Geosupport Desktop
MIT License
17 stars 11 forks source link

Python 2.7 TypeError: unicode argument expected, got 'str' #10

Closed ishiland closed 5 years ago

ishiland commented 5 years ago

While running appveyor CI tests, this error occurs on all builds with python 2.7:

ERROR: test_print (tests.unit.test_help.TestHelp)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\projects\python-geosupport\tests\unit\test_help.py", line 32, in test_print
    o = self.geosupport.help()
  File "c:\projects\python-geosupport\geosupport\geosupport.py", line 146, in help
    print(return_val)
TypeError: unicode argument expected, got 'str'
----------------------------------------------------------------------
ishiland commented 5 years ago

fixed with b6b895c