summaryrefslogtreecommitdiff
path: root/sphinx/testing
diff options
context:
space:
mode:
authorYuxin Wu <ppwwyyxxc@gmail.com>2020-07-03 18:11:53 -0700
committerYuxin Wu <ppwwyyxxc@gmail.com>2020-07-05 12:04:25 -0700
commitf121390ea6a5aff43b318a6cbc4a8631f92ac412 (patch)
tree826015cac62a0e5b22ccbab22172204368dfb0c3 /sphinx/testing
parent85fd0d870d3d1996767522a1b1b47ac616c9273c (diff)
downloadsphinx-git-f121390ea6a5aff43b318a6cbc4a8631f92ac412.tar.gz
fix lint
Diffstat (limited to 'sphinx/testing')
-rw-r--r--sphinx/testing/util.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py
index d8349232b..5ac334068 100644
--- a/sphinx/testing/util.py
+++ b/sphinx/testing/util.py
@@ -7,6 +7,7 @@
:copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
+import functools
import os
import re
import sys
@@ -14,7 +15,6 @@ import warnings
from io import StringIO
from typing import Any, Dict, Generator, IO, List, Pattern
from xml.etree import ElementTree
-import functools
from docutils import nodes
from docutils.nodes import Node
@@ -206,5 +206,3 @@ def simple_decorator(f):
def wrapper(*args, **kwargs):
return f(*args, **kwargs)
return wrapper
-
-