helpers CI fix for Python2.7
@@ -14,7 +14,7 @@ def test_instance_id_returns_id_in_hex_form_without_0x():
from moler.helpers import instance_id
from six.moves import builtins
# 0xf0a1 == 61601 decimal
- with mock.patch("builtins.id", return_value=61601):
+ with mock.patch.object(builtins, "id", return_value=61601):
instance = "moler object"
assert "0x" not in instance_id(instance)
assert instance_id(instance) == "f0a1"
