diff --git a/tests/backend/test_util.py b/tests/backend/test_util.py
index <HASH>..<HASH> 100644
--- a/tests/backend/test_util.py
+++ b/tests/backend/test_util.py
@@ -1,7 +1,8 @@
-import pytest
-
+from functools import singledispatch
 from types import ModuleType
 
+import pytest
+
 
 @pytest.fixture
 def mock_module():
@@ -9,7 +10,6 @@ def mock_module():
 
 
 def test_module_dispatch_registers(mock_module):
-    from functools import singledispatch
     from bigchaindb.backend.utils import make_module_dispatch_registrar
 
     @singledispatch
@@ -26,7 +26,6 @@ def test_module_dispatch_registers(mock_module):
 
 
 def test_module_dispatch_dispatches(mock_module):
-    from functools import singledispatch
     from bigchaindb.backend.utils import make_module_dispatch_registrar
 
     @singledispatch
Import std libs at the top

the rationale behind importing under a test function is to import what
is being tested, and perhasp likely to fail, to isolate possible errors
resulting from the import itself

see
<URL>