Travis CI: issue with python 3.5 and doctest
See original GitHub issueTravis CI with python 3.5 returns different results than expected in doctest
.
Here is an example :
>>> df = ks.DataFrame({'name': ['Raphael', 'Donatello'],
... 'mask': ['red', 'purple'],
... 'weapon': ['sai', 'bo staff']})
>>> df.to_csv(index=False)
Expected:
'name,mask,weapon\nRaphael,red,sai\nDonatello,purple,bo staff\n'
Got:
'mask,name,weapon\nred,Raphael,sai\npurple,Donatello,bo staff\n'
I check doctest
with Pandas 0.23.4 and python 3.6 locally and everything works well.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Extensive Python Testing on Travis CI
Let me briefly introduce you to basic Python testing with Travis. Feel free to skip ahead if you are familiar with the topic....
Read more >Issue 38339: [3.5] The doc job of Travis CI fails on Python 3.5
Example: https://travis-ci.org/python/cpython/jobs/590339147 $ python ... This issue prevents to merge the following 3.5 pull requests: ...
Read more >6. Changelog — natsort 8.0.0 documentation - Read the Docs
Support for Python 3.4 and Python 3.5 ... Use GitHub Actions instead of Travis-CI (issue #125) ... Enable Python 3.7 support in Travis-CI...
Read more >pretext - PyPI
:target: https://travis-ci.org/moreati/b-prefix-all-the-doctests. This package makes it easy to write doctests that involve strings, and
Read more >.travis.yml · pillar-python-sdk
language: python. # Python 3.5 specified to make tox environment 'py35' work. # See: https://github.com/travis-ci/travis-ci/issues/4794. python: - 3.5.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems
columns=[...]
works:Hope this helps
Are dictionaries ordered in Python 3.6+? - Stack Overflow