diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-04-20 21:10:23 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-04-20 21:58:08 +0200 |
commit | 1d4a09b7b3fc56da31b5ca50484a4ddb5dd7df91 (patch) | |
tree | b1919ef2f98bb666fcbd3e82a7a691c7ca7dd2c4 /tests/extensions/test_check_docs.py | |
parent | 1bf7f7da9610edaa399af356f803ace70dee0124 (diff) | |
download | pylint-git-1d4a09b7b3fc56da31b5ca50484a4ddb5dd7df91.tar.gz |
Fix the broken tests: raises do not exist in Python
Closes #3495
Diffstat (limited to 'tests/extensions/test_check_docs.py')
-rw-r--r-- | tests/extensions/test_check_docs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/extensions/test_check_docs.py b/tests/extensions/test_check_docs.py index 89a08065a..dcfeae7ed 100644 --- a/tests/extensions/test_check_docs.py +++ b/tests/extensions/test_check_docs.py @@ -1609,7 +1609,7 @@ class TestParamDocChecker(CheckerTestCase): @foo.setter def foo(self, value): - raises AttributeError() #@ + raise AttributeError() #@ """ ) with self.assertAddsMessages( @@ -1645,7 +1645,7 @@ class TestParamDocChecker(CheckerTestCase): @foo.setter def foo(self, value): - raises AttributeError() #@ + raise AttributeError() #@ """ ) with self.assertAddsMessages( |