diff --git a/tests/test_config_files.py b/tests/test_config_files.py index 411f542..20cff32 100644 --- a/tests/test_config_files.py +++ b/tests/test_config_files.py @@ -17,7 +17,6 @@ import json import jsonschema -import six import testtools DEFAULT_DATA_JSON_PATH = 'default_data.json' @@ -50,10 +49,7 @@ def dict_raise_on_duplicates(ordered_pairs): class TestConfigFiles(testtools.TestCase): def _read_raw_file(self, file_name): - if six.PY3: - opener = functools.partial(open, encoding='utf8') - else: - opener = open + opener = functools.partial(open, encoding='utf8') with opener(file_name, 'r') as content_file: return content_file.read()