summaryrefslogtreecommitdiff
path: root/testing/test_doctest.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2018-06-26 06:35:27 -0700
committerAnthony Sottile <asottile@umich.edu>2018-06-26 06:35:27 -0700
commitcbaa7dd56a685c887e25d4c94b62aa49e8a6a0ca (patch)
tree8b5522f0a5cf2d9f1c12bdebfdf2eaf0c195d08c /testing/test_doctest.py
parent8133d1955e339f26b56af55e178690c1564560f9 (diff)
downloadpytest-cbaa7dd56a685c887e25d4c94b62aa49e8a6a0ca.tar.gz
Upgrade pre-commit hooks except pyupgrade
Diffstat (limited to 'testing/test_doctest.py')
-rw-r--r--testing/test_doctest.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/testing/test_doctest.py b/testing/test_doctest.py
index 7f3aff3b0..6a84c5feb 100644
--- a/testing/test_doctest.py
+++ b/testing/test_doctest.py
@@ -8,7 +8,6 @@ import pytest
class TestDoctests(object):
-
def test_collect_testtextfile(self, testdir):
w = testdir.maketxtfile(whatever="")
checkfile = testdir.maketxtfile(
@@ -723,7 +722,6 @@ class TestDoctests(object):
class TestLiterals(object):
-
@pytest.mark.parametrize("config_mode", ["ini", "comment"])
def test_allow_unicode(self, testdir, config_mode):
"""Test that doctests which output unicode work in all python versions
@@ -841,7 +839,6 @@ class TestDoctestSkips(object):
@pytest.fixture(params=["text", "module"])
def makedoctest(self, testdir, request):
-
def makeit(doctest):
mode = request.param
if mode == "text":
@@ -1122,7 +1119,6 @@ class TestDoctestNamespaceFixture(object):
class TestDoctestReportingOption(object):
-
def _run_doctest_report(self, testdir, format):
testdir.makepyfile(
"""