Skip to content

Commit e90429d

Browse files
committed
tests: upgrade to Qt6
Qt5 is past its EOL and downstream distributions are working on removing it from their repositories. This dependency is only used in a test, so it doesn't affect dependencies or functionality for end users.
1 parent 8c96441 commit e90429d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test = [
5757
"numpy",
5858
"pandas",
5959
"matplotlib",
60-
"pyqt5",
60+
"pyqt6",
6161
"flaky",
6262
"websockets>=10.3",
6363
]

test/plugins/test_completion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ def test_jedi_method_completion(config, workspace) -> None:
282282
reason="Test in Python 3 and not on CIs on Linux because wheels don't work on them.",
283283
)
284284
def test_pyqt_completion(config, workspace) -> None:
285-
# Over 'QA' in 'from PyQt5.QtWidgets import QApplication'
286-
doc_pyqt = "from PyQt5.QtWidgets import QA"
285+
# Over 'QA' in 'from PyQt6.QtWidgets import QApplication'
286+
doc_pyqt = "from PyQt6.QtWidgets import QA"
287287
com_position = {"line": 0, "character": len(doc_pyqt)}
288288
doc = Document(DOC_URI, workspace, doc_pyqt)
289289
completions = pylsp_jedi_completions(config, doc, com_position)

0 commit comments

Comments
 (0)