FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix overwriting of cwd in test discovery path list by kimadeline · Pull Request #6713 · microsoft/vscode-python · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .md  (1) .py  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
1 change: 1 addition & 0 deletions news/2 Fixes/6417.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix overwriting of cwd in the path list when discovering tests.
8 changes: 5 additions & 3 deletions pythonFiles/testing_tools/run_adapter.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
# Replace the "." entry.
import os.path
import sys
sys.path[0] = os.path.dirname(
os.path.dirname(
os.path.abspath(__file__)))

sys.path.insert(1,
os.path.dirname(
os.path.dirname(
os.path.abspath(__file__))))

from testing_tools.adapter.__main__ import parse_args, main

Expand Down

Back | FazBrowse Home | New Git URL