Commit c2414bad authored by Julien Muchembled's avatar Julien Muchembled

Remove unused 'prev_time' attribute in event.py (see also r1895)

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2769 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d84b3ec8
......@@ -27,7 +27,6 @@ class EpollEventManager(object):
self.connection_dict = {}
self.reader_set = set([])
self.writer_set = set([])
self.prev_time = time()
self.epoll = Epoll()
self._pending_processing = []
......
......@@ -29,7 +29,6 @@ class EventTests(NeoUnitTestBase):
self.assertEqual(len(em.connection_dict), 0)
self.assertEqual(len(em.reader_set), 0)
self.assertEqual(len(em.writer_set), 0)
self.assertTrue(em.prev_time <time)
self.assertTrue(isinstance(em.epoll, Epoll))
# use a mock object instead of epoll
em.epoll = Mock()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment