Commit b21f02bd authored by Jason R. Coombs's avatar Jason R. Coombs

Combine DALS implementations in textwrap module.

parent bbb68a8b
......@@ -3,15 +3,12 @@
import os
import shutil
import tempfile
import textwrap
import pytest
import pkg_resources
from .textwrap import DALS
def DALS(s):
"dedent and left-strip"
return textwrap.dedent(s).lstrip()
class TestDistInfo:
......
"""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):
......
......@@ -12,6 +12,8 @@ the script they are to wrap and with the same name as the script they
are to wrap.
"""
from __future__ import absolute_import
import sys
import textwrap
import subprocess
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment