You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
output of pip list from the virtual environment you are using
pytest and operating system versions
minimal example if possible
Running pytest 5.1.0 fails to start in importing main. 5.0.1 and older version works fine.
>py.test -s -vvv test
Traceback (most recent call last):
File "/tmp/ocsp/bin/py.test", line 6, in <module>
from pytest import main
File "/tmp/ocsp/lib64/python3.5/site-packages/pytest.py", line 34, in <module>
from _pytest.python_api import approx
File "/tmp/ocsp/lib64/python3.5/site-packages/_pytest/python_api.py", line 551, in <module>
) -> "RaisesContext[_E]":
File "/opt/rh/rh-python35/root/usr/lib64/python3.5/typing.py", line 1184, in overload
raise RuntimeError("Overloading is only supported in library stubs")
RuntimeError: Overloading is only supported in library stubs
>more /etc/redhat-release
CentOS release 6.7 (Final)
>python3.5
Python 3.5.1 (default, Oct 22 2016, 08:10:47)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux
The text was updated successfully, but these errors were encountered:
smtakeda
changed the title
Pythop 3.5.1
Python 3.5.1 and Pytest 5.1.0 fails to start running tests with the error RuntimeError: Overloading is only supported in library stubs
Aug 18, 2019
pip list
from the virtual environment you are usingRunning
pytest
5.1.0 fails to start in importing main. 5.0.1 and older version works fine.pip list
My environment:
The text was updated successfully, but these errors were encountered: