Skip to content

Commit

Permalink
more compat
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Dec 11, 2023
1 parent 64b4f6f commit 40cd9b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
except ImportError:
import mock # python < 3.3

try:
# Python 3
FileNotFoundError
except NameError:
# Python 2
FileNotFoundError = IOError


def _normalize_distribution_name(name):
# type: (str) -> str
Expand Down

0 comments on commit 40cd9b7

Please sign in to comment.