Mike Bayer  committed 1328b5e

- use compat version of mock for py3

  • Participants
  • Parent commits b61eccc
  • Branches master

Comments (0)

Files changed (2)

File tests/

 if py33:
     from unittest.mock import Mock, call
+    from unittest import mock
         from mock import Mock, call
+        import mock
     except ImportError:
         raise ImportError(
                 "Alembic's test suite requires the "

File tests/

 from alembic import op
 from . import op_fixture, assert_raises_message, requires_094, eq_
-import mock
+from . import mock
 @event.listens_for(Table, "after_parent_attach")
 def _add_cols(table, metadata):