bisect-kit: clean up code for python2 compability
- python3 added 'mock' to unittest module
- all classes are inherits from "object" in python3
BUG=None
TEST=unittest
Change-Id: I47cc00c006cd2d81ec357a6ad5e514a15bc1f667
diff --git a/switch_git_test.py b/switch_git_test.py
index 76eb4cb..9ee12c4 100644
--- a/switch_git_test.py
+++ b/switch_git_test.py
@@ -6,12 +6,7 @@
from __future__ import print_function
import unittest
-
-try:
- from unittest import mock
-except ImportError:
- # TODO(kcwu): remove once migrated to python3
- import mock
+from unittest import mock
import switch_git