From 2702f1d4293435d0bd55f6a1a1b809d333f4c7f5 Mon Sep 17 00:00:00 2001 From: Brian Rutledge Date: Wed, 13 Nov 2019 06:06:56 -0500 Subject: [PATCH] Remove defunct testdir helper --- tests/test_quarantine.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_quarantine.py b/tests/test_quarantine.py index 88564f2..dff99b8 100644 --- a/tests/test_quarantine.py +++ b/tests/test_quarantine.py @@ -62,11 +62,6 @@ def test_no_output_without_options(testdir): def testdir(testdir): """Return default testdir fixture with additional helper methods.""" - def _path_exists(path): - return testdir.tmpdir.join(path).check(exists=True) - - testdir.path_exists = _path_exists - def _path_has_content(path, content): return testdir.tmpdir.join(path).read() == textwrap.dedent(content)