Skip to content

Commit 92331b7

Browse files
authored
Update version for release (#20630)
1 parent 0367b7a commit 92331b7

File tree

8 files changed

+5
-12
lines changed

8 files changed

+5
-12
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "python",
33
"displayName": "Python",
44
"description": "IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), Jupyter Notebooks, code formatting, refactoring, unit tests, and more.",
5-
"version": "2023.2.0-rc",
5+
"version": "2023.2.0",
66
"featureFlags": {
77
"usingNewInterpreterStorage": true
88
},

pythonFiles/testing_tools/adapter/info.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def __init__(self, *args, **kwargs):
2727

2828

2929
class ParentInfo(namedtuple("ParentInfo", "id kind name root relpath parentid")):
30-
3130
KINDS = ("folder", "file", "suite", "function", "subtest")
3231

3332
def __new__(cls, id, kind, name, root=None, relpath=None, parentid=None):

pythonFiles/testing_tools/adapter/pytest/_discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def discover(
2626
pytestargs = _adjust_pytest_args(pytestargs)
2727
# We use this helper rather than "-pno:terminal" due to possible
2828
# platform-dependent issues.
29-
with (util.hide_stdio() if hidestdio else util.noop_cm()) as stdio:
29+
with util.hide_stdio() if hidestdio else util.noop_cm() as stdio:
3030
ec = _pytest_main(pytestargs, [_plugin])
3131
# See: https://docs.pytest.org/en/latest/usage.html#possible-exit-codes
3232
if ec == 5:

pythonFiles/tests/testing_tools/adapter/pytest/test_discovery.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def main(self, args, plugins):
4646

4747

4848
class StubPlugin(util.StubProxy):
49-
5049
_started = True
5150

5251
def __init__(self, stub=None, tests=None):
@@ -66,7 +65,6 @@ def func(*args, **kwargs):
6665

6766

6867
class StubDiscoveredTests(util.StubProxy):
69-
7068
NOT_FOUND = object()
7169

7270
def __init__(self, stub=None):
@@ -105,7 +103,6 @@ def __init__(self, name):
105103

106104

107105
class StubPytestItem(util.StubProxy):
108-
109106
_debugging = False
110107
_hasfunc = True
111108

@@ -218,6 +215,7 @@ def normcase(path):
218215

219216
else:
220217
raise NotImplementedError
218+
221219
##########
222220
def _fix_fileid(*args):
223221
return adapter_util.fix_fileid(
@@ -332,7 +330,6 @@ def ret(args, plugins):
332330

333331

334332
class DiscoverTests(unittest.TestCase):
335-
336333
DEFAULT_ARGS = [
337334
"--collect-only",
338335
]

pythonFiles/tests/testing_tools/adapter/test___main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ def test_unsupported_tool(self):
115115

116116

117117
class MainTests(unittest.TestCase):
118-
119118
# TODO: We could use an integration test for pytest.discover().
120119

121120
def test_discover(self):

pythonFiles/tests/testing_tools/adapter/test_discovery.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212

1313
def _fix_nodeid(nodeid):
14-
1514
nodeid = nodeid.replace("\\", "/")
1615
if not nodeid.startswith("./"):
1716
nodeid = "./" + nodeid

pythonFiles/unittestadapter/execution.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class TestOutcomeEnum(str, enum.Enum):
6060

6161

6262
class UnittestTestResult(unittest.TextTestResult):
63-
6463
formatted: Dict[str, Dict[str, str | None]] = dict()
6564

6665
def startTest(self, test: unittest.TestCase):

0 commit comments

Comments
 (0)