From 7bf8088d8044c3ff730380fca8a4bf9fadced36a Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 24 Jul 2015 02:57:56 +0200 Subject: improve inline scripts, fix #683, fix #684 --- test/test_examples.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_examples.py') diff --git a/test/test_examples.py b/test/test_examples.py index e9bccd2e..54577e67 100644 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -22,7 +22,7 @@ def test_load_scripts(): try: s = script.Script(f, tmaster) # Loads the script file. except Exception as v: - if not "ImportError" in str(v): + if "ImportError" not in str(v): raise else: s.unload() -- cgit v1.2.3