Skip to content

Commit 3ec4d23

Browse files
committed
fix: compatibility with Python 3.12
1 parent 225fee8 commit 3ec4d23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/language_server/src/robotcode/language_server/robotframework/parts/model_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async def iter_expression_variables_from_token(
289289
sub_token,
290290
)
291291
variable_started = False
292-
if toknum == python_token.ERRORTOKEN and tokval == "$":
292+
if tokval == "$":
293293
variable_started = True
294294
except TokenError:
295295
pass

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ classifiers = [
3434
"Programming Language :: Python :: 3.9",
3535
"Programming Language :: Python :: 3.10",
3636
"Programming Language :: Python :: 3.11",
37+
"Programming Language :: Python :: 3.12",
3738
"Programming Language :: Python :: Implementation :: CPython",
38-
"Programming Language :: Python :: Implementation :: PyPy",
3939
"Topic :: Software Development :: Testing",
4040
"Topic :: Software Development :: Testing :: Acceptance",
4141
"Topic :: Software Development :: Testing :: BDD",

0 commit comments

Comments
 (0)