-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
documentationImprove or add to documentationImprove or add to documentationgood first issueClearly described and easy to accomplish. Good for beginners to the project.Clearly described and easy to accomplish. Good for beginners to the project.
Description
Subtle differences between Python 2 and 3 mean that it is inconvenient to test doctests in both versions. Today our CI systems only run doctests in Python 2. This policy was made several years ago, when Python 2 was more common.
It would be nice to switch our CI to test docstrings in Python 3 instead. This requires two changes:
- Change the
.travis.ymlfile to setcoveragein the newest Python build (3.6 today) rather than the 2.7 build. This coverage flag controls whether or not we run doctests (see continuous_integration/travis/run_tests.sh for more information) - Fix all of the failing tests in our docstrings that used to rely on Python 2 syntax
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprove or add to documentationImprove or add to documentationgood first issueClearly described and easy to accomplish. Good for beginners to the project.Clearly described and easy to accomplish. Good for beginners to the project.