peritus / robotframework-httplibrary

Robot Framework keywords for HTTP requests
http://peritus.github.com/robotframework-httplibrary/
76 stars 77 forks source link

Importing test library 'HttpLibrary.HTTP' failed in python 3.8 #68

Open tgyogesh opened 4 years ago

tgyogesh commented 4 years ago

Importing test library 'HttpLibrary.HTTP' failed: SyntaxError: invalid syntax Traceback (most recent call last): None PYTHONPATH: C:\Robot C:\Python38\python38.zip C:\Python38\DLLs C:\Python38\lib C:\Python38 C:\Python38\lib\site-packages

unfadding commented 4 years ago

I've got the same error

petersohn commented 3 years ago

The error is traced back to __init__.py, line 16. That's this line:

https://github.com/peritus/robotframework-httplibrary/blob/0cb5d8fc673a82776e51def26cd7735b141bda68/src/HttpLibrary/__init__.py#L16

This has a Python 2 syntax, which got removed from Python 3.