snowballstem / pystemmer

Python stemming library using snowball stemmers
https://snowballstem.org/
Other
244 stars 47 forks source link

Fix doctests #38

Closed felixonmars closed 1 year ago

felixonmars commented 1 year ago

The renamed quickstart docs were not updated accordingly in runtests.py, and quickstart_python2.txt should be in the docs subdir.

ojwb commented 1 year ago

Oops, very careless of me to rename it to a different directory and not notice. Thanks for catching.

Seems the CI didn't catch this because it only runs tests with Python3. I guess we either should have CI run tests under Python2 or drop Python2 support.

ojwb commented 1 year ago

Actually we attempt to run CI with Python 2.6 and 2.7, it just uses the wrong Python version for some reason:

Running tests forPython 3.10.6
ojwb commented 1 year ago

In fact every single CI job uses Python 3.10.6, so we're really running the same test N times rather than testing a range of Python versions. Sigh.