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
Pytest discovery is stuck after finding all pytests displaying the last test - but does not display them in the side panel. Switching to the previous version - pytest discovery works as expected: the same tests are discovered and immediately test collection finishes.
for the new extension, the trace output of python shows exactly the same tests as being discovered, but it is stuck before it can finish the test discovery
Extension version: 2024.22.0
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Darwin x64 23.5.0
Modes:
Reacted by Jean-Carol Forato, Rémi, katarilabdeveloper, dnyn92, orkenstein, justinwaltrip-cognistx, Stephen Lomnes, Yaar, Ho Yin Chau, Chantal GO and 1 more
I have a similar issue, test discovery never completes.
Rolling back to v2024.22.0 and restarting VS code entirely (not just restarting the Extension Host) did work around the issue.
Activity
Axel-Vivien commentedon Dec 27, 2024
Also affected by this
jcfrt commentedon Dec 27, 2024
I have a similar issue, test discovery never completes.
Rolling back to v2024.22.0 and restarting VS code entirely (not just restarting the Extension Host) did work around the issue.
roablep commentedon Dec 27, 2024
+1. Discovery works again after downgrading to 2024.22.0 (from 2024.22.1)
hchau630 commentedon Dec 27, 2024
I think this issue has already been reported in #24656.
andypohl commentedon Dec 27, 2024
I don't use pytest and I'm having the same issue so I went back to 2024.22.0 and it's working again for unittest.
roablep commentedon Dec 28, 2024
I'm curious how many VS Code users spent as much time as I did before finally realizing it was the plug-in version change.