# HG changeset patch # User Ludovic Chabant # Date 1440828742 25200 # Node ID 64acfb58e02316cedcba3fd3c23677ce57560a55 # Parent f7a741bc5770338f91c0f47b5aa0c6995aa813e3 Cleanup import and code. diff -r f7a741bc5770 -r 64acfb58e023 tests/mock.py --- a/tests/mock.py Fri Aug 28 23:12:11 2015 -0700 +++ b/tests/mock.py Fri Aug 28 23:12:22 2015 -0700 @@ -1,6 +1,5 @@ import os import os.path -import types import codecs import logging import io @@ -57,7 +56,8 @@ def _loadConfig(self): default_config_path = os.path.join( - os.path.dirname(__file__), '..', 'wikked', 'resources', 'defaults.cfg') + os.path.dirname(__file__), '..', + 'wikked', 'resources', 'defaults.cfg') config = SafeConfigParser() config.readfp(open(default_config_path)) @@ -159,7 +159,6 @@ cur[b] = v return nested - @staticmethod def save_structure(path, structure): if not os.path.isdir(path):