Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem trying to execute atests #37

Closed
hernandik opened this issue Apr 18, 2019 · 3 comments
Closed

Problem trying to execute atests #37

hernandik opened this issue Apr 18, 2019 · 3 comments

Comments

@hernandik
Copy link

I tried to execute atest windows_tests.robot, but I keep getting

[ ERROR ] Error in file 'C:\Users\User\Desktop\robotframework-imagehorizonlibrary\tests\atest\windows_tests.robot': Importing test library 'ImageHorizo nLibrary' failed: SyntaxError: 'return' with argument inside generator (init.py, line 168) Traceback (most recent call last): File "c:\python27\lib\site-packages\ImageHorizonLibrary_init_.py", line 8, in import pyautogui as ag File "c:\python27\lib\site-packages\pyautogui_init_.py", line 84, in import pyscreeze PYTHONPATH:

@hernandik
Copy link
Author

I found the solution to this problem.
Running outside robot, the error message show that the problem is in the PyScreeze==0.1.20 python lib. Downgrading to 0.1.19 the problem does not happen.
Is possible that the lib pyautogui==0.9.42 should be downgraded too.

--

@matejc
Copy link
Contributor

matejc commented Apr 27, 2020

Tests have been rewritten, please track this PR: #46

@Tattoo
Copy link
Contributor

Tattoo commented Apr 29, 2020

Closing this issue since a) dependencies will be updated in the next release, b) this is pyscreeze issue, not IHL

@Tattoo Tattoo closed this as completed Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants