summaryrefslogtreecommitdiff
path: root/test/base/test_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/base/test_events.py')
-rw-r--r--test/base/test_events.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/base/test_events.py b/test/base/test_events.py
index c94de7dd5..2b785ba0b 100644
--- a/test/base/test_events.py
+++ b/test/base/test_events.py
@@ -1,5 +1,8 @@
"""Test event registration and listening."""
+from unittest.mock import call
+from unittest.mock import Mock
+
from sqlalchemy import event
from sqlalchemy import exc
from sqlalchemy import testing
@@ -10,8 +13,6 @@ from sqlalchemy.testing import expect_deprecated
from sqlalchemy.testing import fixtures
from sqlalchemy.testing import is_
from sqlalchemy.testing import is_not
-from sqlalchemy.testing.mock import call
-from sqlalchemy.testing.mock import Mock
from sqlalchemy.testing.util import gc_collect