-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
INTERNALERROR for no apparent reason #10846
Comments
I'm not a Pytest maintainer, but it seems the issue is not in fact with Pytest but rather a Pytest plugin, https://github.com/ktosiek/pytest-freezegun , that you happen have installed in your environment (it isn't a QtPy test dependency) that Pytest tries to load. That issue is has been reported several years ago, as ktosiek/pytest-freezegun#35 , and has had multiple PRs open to fix it, but unfortunately Therefore, I recommend:
Thanks, and best of luck. |
Thanks for your analysis. I indeed had py39-pytest-freezegun-0.4.2 installed. |
I am getting the same error but i have no freeze-gun installed INTERNALERROR> Traceback (most recent call last): ============================= 3 warnings in 9.68s ============================= Test ignored. |
Test Environment |
@Vicky8640 this is a bug in your Traceback (most recent call last):
[...]
File "F:\Tutorials\Selenium\SNATADMIN PORTAL\Tests\conftest.py", line 61, in pytest_runtest_makereport
_capture_screenshot(file_name)
File "F:\Tutorials\Selenium\SNATADMIN PORTAL\Tests\conftest.py", line 68, in _capture_screenshot
driver.get_screenshot_as_file(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_screenshot_as_file' |
Bug report
Tests fail on the QtPy project like this:
Original bug report: spyder-ide/qtpy#418
What triggers the INTERNALERROR message?
How can this be fixed?
Your environment
The text was updated successfully, but these errors were encountered: