Closed AnneTheAgile closed 5 years ago
Now I am going to try a few things and will update, eg answer this question that I saw;
Reference;
https://github.com/Microsoft/vscode-python/issues/2512
@owencjonesCan you try running the same script using
Interesting. OK in this case I had a misnamed file . The significant error from above was clearer in commandline;
$ pytest --spec
=============================== test session starts ================================
platform darwin -- Python 2.7.15, pytest-4.6.3, py-1.5.3, pluggy-0.12.0
rootdir: /Users/me/developer/src/cicdtools
plugins: xdist-1.29.0, forked-1.0.2, spec-1.1.0
collected 24 items / 1 errors / 23 selected
====================================== ERRORS ======================================
_____ ERROR collecting machines/gather.190708m_am/test_pipapp_0_-only-am.am.py _____
ImportError while importing test module '/Users/me/developer/src/cicdtools/machines/gather.190708m_am/test_pipapp_0_-only-am.am.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
ImportError: No module named test_pipapp_0_-only-am.am
!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!
============================= 1 error in 0.65 seconds ==============================
Once I renamed test_pipapp0-only-am.am.py to remove dashes, all was well .
closing ok for me and hopefully help future me and/or someone else!
This ticket is to reopen the issue seen in prior but closed for lack of fb.
The helper pointed to more than the one I saw; Repeatedly prompts "Test framework pytest is not installed. Install?"
2511 opened on Sep 6, 2018 by dazzag24 • updated on Oct 4, 2018
Repeatedly prompts: Test framework pytest is not installed. Install?
2512 opened on Sep 6, 2018 by dazzag24 • updated on Dec 27, 2018
"Test framework pytest is not installed. Install?" even though it is installed.
5919 opened on Jun 5 by ericsnowcurrently • updated on Jun 5
Test framework undefined is not installed. Install?
5220 opened on Apr 11 by david-waterworth • updated on May 16
Environment data
"python.jediEnabled"
set to; more info #3977): XXXExpected behaviour
open up vscode to project where test explorer worked and you see test explorer
Actual behaviour
prompt for installing again, after I have done repeatedly
Steps to reproduce:
not sure yet
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)