aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_dist_info.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-02 09:55:33 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-02 09:55:33 -0500
commitb21f02bdaeab48de81c90142b5ff80c900739613 (patch)
tree3f01b2497dfc0282599defc9d6b811d1f41e452f /setuptools/tests/test_dist_info.py
parentbbb68a8b848f9dbd4d44419fdae93b5e057763e5 (diff)
downloadexternal_python_setuptools-b21f02bdaeab48de81c90142b5ff80c900739613.tar.gz
external_python_setuptools-b21f02bdaeab48de81c90142b5ff80c900739613.tar.bz2
external_python_setuptools-b21f02bdaeab48de81c90142b5ff80c900739613.zip
Combine DALS implementations in textwrap module.
Diffstat (limited to 'setuptools/tests/test_dist_info.py')
-rw-r--r--setuptools/tests/test_dist_info.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/setuptools/tests/test_dist_info.py b/setuptools/tests/test_dist_info.py
index eab17335..6d0ab587 100644
--- a/setuptools/tests/test_dist_info.py
+++ b/setuptools/tests/test_dist_info.py
@@ -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: