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
I got an exception while trying to debug a unittest. The exception was from a bug in VSCode Python extension itself:
Exception has occurred: TypeError
format_exception() missing 3 required positional arguments: 'etype', 'value', and 'tb'
File "C:\Users\Ark\.vscode\extensions\ms-python.python-2018.9.2\pythonFiles\PythonTools\visualstudio_py_testlauncher.py", line 344, in main
pass
File "C:\Users\Ark\.vscode\extensions\ms-python.python-2018.9.2\pythonFiles\PythonTools\visualstudio_py_testlauncher.py", line 347, in <module>
main()
Exception has occurred: TypeError
format_exception() missing 3 required positional arguments: 'etype', 'value', and 'tb'
File "C:\Users\Ark\.vscode\extensions\ms-python.python-2018.9.2\pythonFiles\PythonTools\visualstudio_py_testlauncher.py", line 344, in main
pass
File "C:\Users\Ark\.vscode\extensions\ms-python.python-2018.9.2\pythonFiles\PythonTools\visualstudio_py_testlauncher.py", line 347, in <module>
main()
Expected behavior
No exception
The text was updated successfully, but these errors were encountered:
We are going through old issues and we noticed that no one had replied to this issue. I want to apologize for the oversight and to let you know that the issue was triaged (as shown by the labels applied to this issue).
Hello! I have reviewed this issue and given the architectural changes of the testing rewrite, this issue should no longer exist on the rewrite. Therefore I am going to close this issue but please comment or open a new issue if you are still seeing a problem when you try this yourself!
To use the rewrite yourself just add ”python.experiments.optInto": ["pythonTestAdapter"] to your user settings. You can confirm you have the rewrite enabled by setting your log level to trace, via the Developer: Set Log Level command in the command palette. Then check to see if Experiment 'pythonTestAdapter' is active is in your python logs.
I got an exception while trying to debug a unittest. The exception was from a bug in VSCode Python extension itself:
I looked at the extension's code and the error is correct. See DonJayamanne@3e50a68#r31258938
Environment data
Actual behavior
Expected behavior
No exception
The text was updated successfully, but these errors were encountered: