diff options
author | Chris Dent <chris.dent@gmail.com> | 2018-10-23 13:46:30 +0000 |
---|---|---|
committer | Chris Dent <chris.dent@gmail.com> | 2018-10-23 13:46:30 +0000 |
commit | c48efceacb313d22a41b464539b0e9cf0f907eee (patch) | |
tree | 8eb104dfe1737855086c0315f968e743bd22be54 /paste/fixture.py | |
parent | 057849aa0ca25c040823b3f6791d12eb57c25962 (diff) | |
parent | d74c28f48dba2b8bd334eac4363e9e69e2e71cbf (diff) | |
download | paste-git-c48efceacb313d22a41b464539b0e9cf0f907eee.tar.gz |
Merged in onovy/paste (pull request #36)
Use correct variable when building message for exception
Diffstat (limited to 'paste/fixture.py')
-rw-r--r-- | paste/fixture.py | 2 |
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 |