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
Does this issue occur when all extensions are disabled?: Yes/No
VS Code Version: 1.86.1
OS Version: Linux x64 6.5.0-15-generic
Steps to Reproduce:
add configurations to your pytest.ini addopts = --disable-socket --allow-unix-socket --allow-hosts 127.0.0.1
Try to run the test.
On each update, I have to perform manual fixes to make it work
If tests are failing on trying to open the socket connection
go to file
~/.vscode/extensions/ms-python.python-/pythonFiles/vscode_pytest/init.py::post_response
change line 734: addr = ("localhost", int(TEST_PORT))
to addr = ("127.0.0.1", int(TEST_PORT))
make sure that your pytest.ini file contains addopts = --disable-socket --allow-unix-socket --allow-hosts 127.0.0.1
The text was updated successfully, but these errors were encountered:
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.1. Please try upgrading to the latest version and checking whether this issue remains.
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
addopts = --disable-socket --allow-unix-socket --allow-hosts 127.0.0.1
On each update, I have to perform manual fixes to make it work
If tests are failing on trying to open the socket connection
go to file
~/.vscode/extensions/ms-python.python-/pythonFiles/vscode_pytest/init.py::post_response
change line 734:
addr = ("localhost", int(TEST_PORT))
to
addr = ("127.0.0.1", int(TEST_PORT))
make sure that your pytest.ini file contains
addopts = --disable-socket --allow-unix-socket --allow-hosts 127.0.0.1
The text was updated successfully, but these errors were encountered: