diff --git a/.travis.yml b/.travis.yml index f436505..b68fe0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ sudo: false language: python +python: + - "2.7" + - "3.4" + - "3.5" install: pip install -r requirements-dev.txt . script: - make lint diff --git a/testimony/__init__.py b/testimony/__init__.py index 536d6b3..57b7655 100755 --- a/testimony/__init__.py +++ b/testimony/__init__.py @@ -277,7 +277,8 @@ def validate_docstring_report(testcases): )) invalid_tags_docstring_count += 1 if issues: - result.setdefault(path, {})[testcase.name] = issues + result.setdefault( + path, collections.OrderedDict())[testcase.name] = issues invalid_docstring_count += 1 if SETTINGS['json']: