summaryrefslogtreecommitdiff
path: root/paste/fixture.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/fixture.py')
-rw-r--r--paste/fixture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/fixture.py b/paste/fixture.py
index 363f119..8cff72f 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -852,7 +852,7 @@ class TestResponse(object):
print("Actual response (has %r)" % no_s, file=sys.stderr)
print(self, file=sys.stderr)
raise IndexError(
- "Body contains string %r" % s)
+ "Body contains string %r" % no_s)
def __repr__(self):
body = self.body