Skip to content

Commit

Permalink
Fix the broken tests: raises do not exist in Python
Browse files Browse the repository at this point in the history
Closes #3495
  • Loading branch information
Pierre-Sassoulas committed Apr 20, 2020
1 parent 1bf7f7d commit 1d4a09b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/extensions/test_check_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@ def foo(self): #@
@foo.setter
def foo(self, value):
raises AttributeError() #@
raise AttributeError() #@
"""
)
with self.assertAddsMessages(
Expand Down Expand Up @@ -1645,7 +1645,7 @@ def foo(self): #@
@foo.setter
def foo(self, value):
raises AttributeError() #@
raise AttributeError() #@
"""
)
with self.assertAddsMessages(
Expand Down

0 comments on commit 1d4a09b

Please sign in to comment.