Skip to content

Commit

Permalink
Fix Cleanup failing on 3.8.3 (#11607)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel authored May 22, 2020
1 parent 7147f50 commit 39f2757
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ def mock_in_unit_test(unit_test, target, replacement):

mp = mock.patch(target, replacement)
mp.__enter__()
unit_test.addCleanup(mp.__exit__)
unit_test.addCleanup(mp.__exit__, None, None, None)

0 comments on commit 39f2757

Please sign in to comment.