def test_double_stop(self):
"""Test error raised on multiple calls to stop."""
watch = Stopwatch()
watch.start()
watch.stop()
self.assertRaises(ZMQError, watch.stop)
self.assertRaises(ZMQError, watch.stop)