Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit testing failed in python3. #4440

Closed
zhouwangyang opened this issue Feb 19, 2019 · 1 comment
Closed

Unit testing failed in python3. #4440

zhouwangyang opened this issue Feb 19, 2019 · 1 comment

Comments

@zhouwangyang
Copy link

zhouwangyang commented Feb 19, 2019

Visual Studio Code - Insiders: 1.32.0-insider
python-insider: 2019.2.5135-alpha
python version: Python 3.7.2 64bit
Repro steps:
1.Git clone https://github.com/qubitron/pydemo
2.Open Anaconda Prompt window
3.Cd pydemo
4.Run py -3 setup.py
5.Open hello-stackoverflow folder inVSC
6.Change environment to Python 3.7.2 in Status bar
7.Select "Test"
image
8.Click "Run All Unit Tests",Make sure a prompt is popup
9.Click "Enable and configure a Test Framework"
10.From the menus select "Unittest framework->Tests folder->Test_*.py" file
11.Click "Run All Unit Tests" button
Except result: Test code lenses should appear and test count i status bar like below
image
Actual result: no code lenses, wrong test count in status bar.
image
note:it worked OK when changed environment to Anaconda

@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Feb 19, 2019
@karrtikr
Copy link

Closing in favour of #2644

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Feb 19, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants