Skip to content

Commit a928b7f

Browse files
Update test result
1 parent 84af0c3 commit a928b7f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_inference.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6329,9 +6329,8 @@ def increment(self):
63296329
self.count += 1 #@
63306330
"""
63316331
node = extract_node(code)
6332-
# A refactor caused this to raise AttributeError
6333-
with pytest.raises(InferenceError):
6334-
next(node.infer())
6332+
inferred = next(node.infer())
6333+
assert inferred.value == 1
63356334

63366335

63376336
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)