Skip to content

Python test extension discovery of tests broken #24292

@shane99a

Description

@shane99a
2024-10-11 16:47:32.732 [warning] could not find a pixi interpreter for the interpreter at /Users/xxx/.pyenv/versions/3.11.10/bin/python
2024-10-11 16:47:32.735 [info] > ~/.pyenv/versions/3.11.10/bin/python ~/.vscode/extensions/ms-python.python-2024.14.1-darwin-arm64/python_files/testing_tools/run_adapter.py discover pytest -- --rootdir . -s --cache-clear test
2024-10-11 16:47:32.735 [info] cwd: .
2024-10-11 16:47:34.370 [error] Error discovering pytest tests:
 [n [Error]: sys:1: DeprecationWarning: builtin type swigvarlink has no __module__ attribute

	at ChildProcess.<anonymous> (/Users/xxx/.vscode/extensions/ms-python.python-2024.14.1-darwin-arm64/out/client/extension.js:2:252414)
	at Object.onceWrapper (node:events:634:26)
	at ChildProcess.emit (node:events:519:28)
	at maybeClose (node:internal/child_process:1105:16)
	at ChildProcess._handle.onexit (node:internal/child_process:305:5)]

What is swigvarlink?

Additional info

experiments
• optOutFrom: ["pythonTestAdapter"]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions