summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2015-05-15 11:03:31 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-05-19 15:39:27 +0900
commite14c49abc891f132f867943ca5f5c7eae7a7c763 (patch)
tree720f4130cade6ba1aa0ff581f1b9ceecffc85e82
parentd90209e8713f354a1a9f2567f77448b570cc6870 (diff)
test_lib: Remove a questional exception re-raising
This "raise" makes the following code to fall back to non-color unreachable. While this has been so since the initial version, recently it started biting us on travis-ci. (I haven't investigated why. It might or might not be related to recently released tox 2.0's "ENV isolation".) Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/test_lib.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ryu/tests/test_lib.py b/ryu/tests/test_lib.py
index 562e9f9b..1d664478 100644
--- a/ryu/tests/test_lib.py
+++ b/ryu/tests/test_lib.py
@@ -58,7 +58,6 @@ class _AnsiColorizer(object):
curses.setupterm()
return curses.tigetnum("colors") > 2
except:
- raise
# guess false in case of error
return False
supported = classmethod(supported)