Merge "Python 3: do not use __builtin__"

This commit is contained in:
Jenkins 2014-07-03 17:13:53 +00:00 committed by Gerrit Code Review
commit e43c0f2b9b

View File

@ -139,7 +139,7 @@ class TestImageCreate(TestImage):
self.assertEqual(image_fakes.IMAGE_columns, columns)
self.assertEqual(image_fakes.IMAGE_data, data)
@mock.patch('__builtin__.open')
@mock.patch('six.moves.builtins.open')
def test_image_create_file(self, open_mock):
mock_exception = {
'find.side_effect': exceptions.CommandError('x'),