summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Picon <tabo@tabo.pe>2015-01-24 14:45:30 -0500
committerGustavo Picon <tabo@tabo.pe>2015-01-24 14:45:30 -0500
commitc327da6242539aa48bfa8d89bb82d4f47a223ede (patch)
tree02b58adff6a67d0a85d595e7e420d490d8874b7a
parent22937699ebf879b01d86d95a3c5e0fa8eefbcf74 (diff)
downloadcherrypy-c327da6242539aa48bfa8d89bb82d4f47a223ede.tar.gz
Removing useless comparison
-rw-r--r--cherrypy/test/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/test/helper.py b/cherrypy/test/helper.py
index 6c5471ab..fd8bb914 100644
--- a/cherrypy/test/helper.py
+++ b/cherrypy/test/helper.py
@@ -406,7 +406,7 @@ def _test_method_sorter(_, x, y):
"""Monkeypatch the test sorter to always run test_gc last in each suite."""
if x == 'test_gc':
return 1
- if y == y == 'test_gc':
+ if y == 'test_gc':
return -1
if x > y:
return 1