We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3097aa9 commit 7d8e9e0Copy full SHA for 7d8e9e0
examples/testing/pytest/fixtures/shopping_cart.py
@@ -50,5 +50,4 @@ def __add__(self, other):
50
"""add two items together if they are the same type"""
51
if self.name == other.name:
52
return Item(self.name, self.quantity + other.quantity)
53
- else:
54
- raise ValueError("names don't match")
+ raise ValueError("names don't match")
0 commit comments