summaryrefslogtreecommitdiff
path: root/paste/fixture.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2008-04-13 06:38:35 +0000
committerpjenvey <devnull@localhost>2008-04-13 06:38:35 +0000
commitbc6a7f904215b438e5ec7f39a563d6ee658238e3 (patch)
tree69b14c88751d6aa3b87e166a7620ad2798af57a7 /paste/fixture.py
parent5a9c6ac6100b3214a62a35884319f0281179e1ef (diff)
downloadpaste-bc6a7f904215b438e5ec7f39a563d6ee658238e3.tar.gz
safer compare of ints with == instead of is
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 38b9d24..c197613 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -1525,7 +1525,7 @@ class ProcResult(object):
def assert_no_error(self):
__tracebackhide__ = True
- assert self.returncode is 0, (
+ assert self.returncode == 0, (
"Script returned code: %s" % self.returncode)
def assert_no_stderr(self):