aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_sandbox.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-01-25 15:49:59 -0500
committerJason R. Coombs <jaraco@jaraco.com>2019-01-25 15:49:59 -0500
commit992aa3dfba57de594544b8df6f8adb5e8d451ab2 (patch)
treeff8aa7bc91f9dd1a513025cc0d0b184d2c361080 /setuptools/tests/test_sandbox.py
parent2c897b5b877d401e13b661f2a0a14e99a1aabdc8 (diff)
parent9b777b7599c1379d06f6a250410adba2607bfc4f (diff)
downloadexternal_python_setuptools-992aa3dfba57de594544b8df6f8adb5e8d451ab2.tar.gz
external_python_setuptools-992aa3dfba57de594544b8df6f8adb5e8d451ab2.tar.bz2
external_python_setuptools-992aa3dfba57de594544b8df6f8adb5e8d451ab2.zip
Merge branch 'master' into fix_889_and_non-ascii_in_setup.cfg_take_2
Diffstat (limited to 'setuptools/tests/test_sandbox.py')
-rw-r--r--setuptools/tests/test_sandbox.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/tests/test_sandbox.py b/setuptools/tests/test_sandbox.py
index a3f1206d..d8675422 100644
--- a/setuptools/tests/test_sandbox.py
+++ b/setuptools/tests/test_sandbox.py
@@ -75,6 +75,8 @@ class TestExceptionSaver:
def test_unpickleable_exception(self):
class CantPickleThis(Exception):
"This Exception is unpickleable because it's not in globals"
+ def __repr__(self):
+ return 'CantPickleThis%r' % (self.args,)
with setuptools.sandbox.ExceptionSaver() as saved_exc:
raise CantPickleThis('detail')