From: Daniel Morrison Date: Tue, 18 Nov 2014 04:22:41 +0000 (-0500) Subject: Cause Python version 3.2.2 not to die. X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=217444a2ab234fbb7395a85c80b27f13c027a274;p=chevron.git Cause Python version 3.2.2 not to die. Python 3.2.2 thinks that '~' is not '~'. Simple solution != --- 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))