Skip to content

Commit 2103904

Browse files
authored
Use PyQt6 for testing (#667)
1 parent 5c8cfac commit 2103904

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)