Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove Python 3.7 check.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Aug 25, 2023
1 parent aa2fbfc commit 0b7266e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_utils/__init__.py
Expand Up @@ -61,10 +61,6 @@ def setup_awaitable_errors() -> Callable[[], None]:
"""
warnings.simplefilter("error", RuntimeWarning)

# unraisablehook was added in Python 3.8.
if not hasattr(sys, "unraisablehook"):
return lambda: None

# State shared between unraisablehook and check_for_unraisable_exceptions.
unraisable_exceptions = []
orig_unraisablehook = sys.unraisablehook
Expand Down

0 comments on commit 0b7266e

Please sign in to comment.