فهرست منبع

Import unittest.mock directly.

We don't need to support Python2 anymore.

Signed-off-by: Bastian Venthur <[email protected]>
Bastian Venthur 5 سال پیش
والد
کامیت
6351ad8a95
1فایلهای تغییر یافته به همراه1 افزوده شده و 5 حذف شده
  1. 1 5
      tests/__init__.py

+ 1 - 5
tests/__init__.py

@@ -1,6 +1,2 @@
 import unittest  # NOQA
-
-try:
-    from unittest import mock
-except ImportError:
-    import mock  # NOQA
+from unittest import mock  # NOQA