From 217444a2ab234fbb7395a85c80b27f13c027a274 Mon Sep 17 00:00:00 2001 From: Daniel Morrison Date: Mon, 17 Nov 2014 23:22:41 -0500 Subject: [PATCH] Cause Python version 3.2.2 not to die. Python 3.2.2 thinks that '~' is not '~'. Simple solution != --- test_spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_spec.py b/test_spec.py index 0584185..78f10d0 100755 --- a/test_spec.py +++ b/test_spec.py @@ -44,7 +44,7 @@ def _test_case_from_path(json_path): # Create TestCase for each json file for spec in SPECS: # Ignore optional tests - if spec[0] is not '~': + if spec[0] != '~': spec = spec.split('.')[0] globals()[spec] = _test_case_from_path(os.path.join(SPECS_PATH, spec)) -- 2.47.3