From 007587aaaddccdf892939f905224b4ba618f58ca Mon Sep 17 00:00:00 2001 From: Jason Madden Date: Mon, 12 Feb 2018 16:38:01 -0600 Subject: [PATCH] Whoops, fix definition of CFFI_BACKEND in tests; led to some test errors on Travis. --- src/greentest/greentest/sysinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/greentest/greentest/sysinfo.py b/src/greentest/greentest/sysinfo.py index 0df18f7dc..bce317595 100644 --- a/src/greentest/greentest/sysinfo.py +++ b/src/greentest/greentest/sysinfo.py @@ -31,7 +31,7 @@ # XXX: Formalize this better LIBUV = 'libuv' in gevent.core.loop.__module__ # pylint:disable=no-member -CFFI_BACKEND = bool(os.getenv('GEVENT_CORE_CFFI_ONLY')) or PYPY +CFFI_BACKEND = PYPY or LIBUV or 'cffi' in os.getenv('GEVENT_LOOP', '') if '--debug-greentest' in sys.argv: sys.argv.remove('--debug-greentest')