diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-11 20:50:43 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-11 20:50:43 +0300 |
commit | 279e547860ea68e3c357f55e608afec682a1f961 (patch) | |
tree | dc08e85ab0210538e30b5b801bf9d80ab49bfb3f /sphinx/testing | |
parent | 859b5fcea71f8d4f46e0ef3726e68df54bfbc3b7 (diff) | |
parent | 64fb1e56242d93ee0e8c317ab9e7643242b99658 (diff) |
Merge branch '3.x'
Diffstat (limited to 'sphinx/testing')
-rw-r--r-- | sphinx/testing/fixtures.py | 1 | ||||
-rw-r--r-- | sphinx/testing/path.py | 3 | ||||
-rw-r--r-- | sphinx/testing/util.py | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/sphinx/testing/fixtures.py b/sphinx/testing/fixtures.py index 55e639df6..1008ea1b8 100644 --- a/sphinx/testing/fixtures.py +++ b/sphinx/testing/fixtures.py @@ -20,7 +20,6 @@ import pytest from sphinx.testing import util from sphinx.testing.util import SphinxTestApp, SphinxTestAppWrapperForSkipBuilding - DEFAULT_ENABLED_MARKERS = [ ( 'sphinx(builder, testroot=None, freshenv=False, confoverrides=None, tags=None,' diff --git a/sphinx/testing/path.py b/sphinx/testing/path.py index 4c3702e3d..a37839d60 100644 --- a/sphinx/testing/path.py +++ b/sphinx/testing/path.py @@ -11,11 +11,10 @@ import os import shutil import sys import warnings -from typing import Any, Callable, IO, List +from typing import IO, Any, Callable, List from sphinx.deprecation import RemovedInSphinx50Warning - FILESYSTEMENCODING = sys.getfilesystemencoding() or sys.getdefaultencoding() diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py index db1ae22b6..183adc32b 100644 --- a/sphinx/testing/util.py +++ b/sphinx/testing/util.py @@ -13,7 +13,7 @@ import re import sys import warnings from io import StringIO -from typing import Any, Dict, Generator, IO, List, Pattern +from typing import IO, Any, Dict, Generator, List, Pattern from xml.etree import ElementTree from docutils import nodes @@ -25,7 +25,6 @@ from sphinx.pycode import ModuleAnalyzer from sphinx.testing.path import path from sphinx.util.osutil import relpath - __all__ = [ 'Struct', 'SphinxTestApp', 'SphinxTestAppWrapperForSkipBuilding', ] |