summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-03-17 13:57:33 -0400
committerChris McDonough <chrism@plope.com>2011-03-17 13:57:33 -0400
commit35115047bd16767aa55b4742d25981ba1aed084c (patch)
tree7fd772933b4840fb87c58aaffea8c94013b0e6b9
parent8e461d00408f009fb733122906e6050b93ac81ee (diff)
downloadwebob-35115047bd16767aa55b4742d25981ba1aed084c.tar.gz
reduce dependencies to sane set; dont bother trying to test paste monkeypatching
-rw-r--r--setup.py4
-rw-r--r--webob/exc.py2
2 files changed, 2 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 5a99031..54e33be 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,4 @@
from setuptools import setup
-import sys, os
version = '1.0.4'
@@ -44,7 +43,6 @@ See also: `changelog <http://pythonpaste.org/webob/news>`_,
packages=['webob'],
zip_safe=True,
test_suite='nose.collector',
- tests_require=['Tempita', 'WSGIProxy', 'WebTest', 'dtopt', 'nose',
- 'repoze.profile'],
+ tests_require=['nose', 'WebTest'],
use_2to3=True,
)
diff --git a/webob/exc.py b/webob/exc.py
index 60dc957..b072b8c 100644
--- a/webob/exc.py
+++ b/webob/exc.py
@@ -1065,7 +1065,7 @@ try:
except ImportError: # pragma: no cover
# Without Paste we don't need to do this fixup
pass
-else:
+else: # pragma: no cover
for name in dir(httpexceptions):
obj = globals().get(name)
if (obj and isinstance(obj, type) and issubclass(obj, HTTPException)