From 51230c674fd1d7c0ab1500d5d19c8ea9f5dba027 Mon Sep 17 00:00:00 2001 From: Chris Kuehl Date: Tue, 21 Nov 2017 22:13:35 -0800 Subject: [PATCH] Fix bare except to appease new flake8 --- testing/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/__init__.py b/testing/__init__.py index 1d87f30..24042f3 100644 --- a/testing/__init__.py +++ b/testing/__init__.py @@ -93,7 +93,7 @@ def sleep_until(fn, timeout=1.5): while True: try: fn() - except: + except Exception: if so_far >= timeout: raise else: