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

PyBuilder improperly handles syntactical errors in test being loaded #770

Closed
arcivanov opened this issue Apr 15, 2021 · 2 comments · Fixed by #785
Closed

PyBuilder improperly handles syntactical errors in test being loaded #770

arcivanov opened this issue Apr 15, 2021 · 2 comments · Fixed by #785

Comments

@arcivanov
Copy link
Member

Details here:

https://gitter.im/pybuilder/pybuilder?at=6077844f81866c680c23d17d

Logs here:

https://files.gitter.im/5a174492d73408ce4f800535/d6Uj/build_logs.txt

@hoxu
Copy link
Contributor

hoxu commented Apr 29, 2021

I believe this is the same case I was seeing, with the symptom being:

BUILD FAILED - TypeError: 'NoneType' object is not callable (xmlrunner/runner.py:66)

For the people coming here from search, -vX -Premote_debug=2 parameters to pyb will unearth the actual issue, which in my case was:

[DEBUG/MainProcess] received (0, TypeError('__init__() takes 1 positional argument but 2 were given'))

@arcivanov
Copy link
Member Author

@hoxu thanks for your report!

arcivanov added a commit to arcivanov/pybuilder that referenced this issue Sep 8, 2021
Introduce a new opcode to indicate an exposed remote failure.
Ensure that failure is detected and handled appropriately in the unittest tool.

fixes pybuilder#770
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Sep 8, 2021
Introduce a new opcode to indicate an exposed remote failure.
Ensure that failure is detected and handled appropriately in the unittest tool.

fixes pybuilder#770
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Sep 8, 2021
Introduce a new opcode to indicate an exposed remote failure.
Ensure that failure is detected and handled appropriately in the unittest tool.

fixes pybuilder#770
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Sep 8, 2021
Introduce a new opcode to indicate an exposed remote failure.
Ensure that failure is detected and handled appropriately in the unittest tool.

fixes pybuilder#770
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

Successfully merging a pull request may close this issue.

2 participants