From b21f02bdaeab48de81c90142b5ff80c900739613 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 2 Jan 2015 09:55:33 -0500 Subject: Combine DALS implementations in textwrap module. --- setuptools/tests/test_easy_install.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'setuptools/tests/test_easy_install.py') diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index b3fa9cff..30789e83 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -1,12 +1,13 @@ """Easy install Tests """ +from __future__ import absolute_import + import sys import os import shutil import tempfile import site import contextlib -import textwrap import tarfile import logging import itertools @@ -29,13 +30,7 @@ import pkg_resources from .py26compat import tarfile_open from . import contexts - - -def DALS(input): - """ - Dedent and left-strip - """ - return textwrap.dedent(input).lstrip() +from .textwrap import DALS class FakeDist(object): -- cgit v1.2.1