Skip to content

Commit

Permalink
test(event): don't attempt to import exceptiongroup if running python…
Browse files Browse the repository at this point in the history
… 3.11+
  • Loading branch information
actionless authored Jun 30, 2024
1 parent f962342 commit 13bdb45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_event_exception.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
from __future__ import annotations

from sys import version_info
from typing import Callable

import pytest
from exceptiongroup import ExceptionGroup
if version_info < (3, 11):
from exceptiongroup import ExceptionGroup

from generic.event import Event, Manager

Expand Down

0 comments on commit 13bdb45

Please sign in to comment.