diff --git a/tests/test_pyright.py b/tests/test_pyright.py index 3f2bf89dd..b974114ce 100644 --- a/tests/test_pyright.py +++ b/tests/test_pyright.py @@ -56,8 +56,7 @@ def test_pyright_baseline(): ( "error", 'Cannot assign to attribute "a" for class ' - '"Frozen"\n\xa0\xa0"Frozen" is frozen\n\xa0\xa0\xa0\xa0' - 'Attribute "__set__" is unknown', + '"Frozen"\n\xa0\xa0Attribute "a" is read-only', ), ( "information", @@ -66,8 +65,7 @@ def test_pyright_baseline(): ( "error", 'Cannot assign to attribute "a" for class ' - '"FrozenDefine"\n\xa0\xa0"FrozenDefine" is frozen\n\xa0\xa0\xa0\xa0' - 'Attribute "__set__" is unknown', + '"FrozenDefine"\n\xa0\xa0Attribute "a" is read-only', ), ( "information", diff --git a/tox.ini b/tox.ini index 1f1de556e..bc199713a 100644 --- a/tox.ini +++ b/tox.ini @@ -113,7 +113,7 @@ commands = [testenv:pyright] extras = tests -deps = pyright<1.1.380 +deps = pyright>=1.1.380 commands = pytest tests/test_pyright.py -vv