Skip to content

Commit

Permalink
Fixed a poorly written test in test_engine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ecdavis committed Oct 11, 2012
1 parent b3557bf commit 1e5dbf8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pants/test/test_engine.py
Expand Up @@ -102,8 +102,7 @@ def setUp(self):
self.engine = Engine()

def test_poll_updates_time(self):
current_time = time.time()
self.assertTrue(current_time > self.engine.time)
current_time = self.engine.time
self.engine.poll(0.02)
self.assertTrue(self.engine.time > current_time)

Expand Down

0 comments on commit 1e5dbf8

Please sign in to comment.