Skip to content

Commit 245a618

Browse files
committed
python 2.6 doesn't have assertIn
1 parent fc7db09 commit 245a618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_cherrypy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def test_plugin(self):
9393
h = EchoWebSocket(s, [], [])
9494
cherrypy.engine.publish('handle-websocket', h, ('127.0.0.1', 0))
9595
self.assertEquals(len(manager), 1)
96-
self.assertIn(h, manager)
96+
self.assertTrue(h in manager)
9797

9898
h.close()
9999

0 commit comments

Comments
 (0)