Skip to content

Commit

Permalink
Update test result
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Jul 4, 2023
1 parent 84af0c3 commit a928b7f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -6329,9 +6329,8 @@ def increment(self):
self.count += 1 #@
"""
node = extract_node(code)
# A refactor caused this to raise AttributeError
with pytest.raises(InferenceError):
next(node.infer())
inferred = next(node.infer())
assert inferred.value == 1


@pytest.mark.parametrize(
Expand Down

0 comments on commit a928b7f

Please sign in to comment.