Bug 1040742 - Only ignore expected exceptions; r=automatedtester

--HG--
extra : amend_source : 77ea73088dcc9e2484fbe4c3fe818b333fdf9b1d
This commit is contained in:
Maja Frydrychowicz 2015-10-05 18:31:57 -04:00
parent fcf9e2e7ae
commit 2f9c01a010

View File

@ -697,7 +697,7 @@ class MarionetteTestCase(CommonTestCase):
(self.filepath.replace('\\', '\\\\'),
self.methodName))
self.marionette.test_name = None
except:
except (MarionetteException, IOError):
# We have tried to log the test end when there is no listener
# object that we can access
pass