Skip to content

Commit

Permalink
Querying missing key will also be deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 4, 2021
1 parent 0460524 commit a54488d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ def test_entry_points_groups_getitem(self):
with warnings.catch_warnings(record=True):
entry_points()['entries'] == entry_points(group='entries')

with self.assertRaises(KeyError):
entry_points()['missing']
with self.assertRaises(KeyError):
entry_points()['missing']

def test_entry_points_groups_get(self):
"""
Expand Down

0 comments on commit a54488d

Please sign in to comment.