From 1e255a72a81a0b0f2c5affc83a3be07ab378dff4 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sun, 12 Oct 2014 10:40:48 -0400 Subject: [PATCH] Python3 fix --- test/v2/parsing/test_general.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/v2/parsing/test_general.py b/test/v2/parsing/test_general.py index 8afb75acf8b..9373968cc8f 100644 --- a/test/v2/parsing/test_general.py +++ b/test/v2/parsing/test_general.py @@ -21,7 +21,9 @@ from ansible.errors import AnsibleParserError import json -class MockFile(file): +from io import FileIO + +class MockFile(FileIO): def __init__(self, ds, method='json'): self.ds = ds