Closed dcroote closed 3 years ago
Thanks, this looks great!
Did you accidentally leave in a git ignore for doctest.xpt
or was that intentional?
It was intentional since running pytest
produces that file and I figured it would be easiest to avoid having it show up as changed in future PRs as people run the tests. Up to you though!
Sounds good. I'd forgotten about that.
Currently, running
pytest
results in doctest failures in theload
,loads
,dump
, anddumps
functions ofxport/src/xport/v56.py
because of either the missingexample.xpt
file or absence of thetest/data
directory.This PR adds the directory and example file so all tests pass. However, the tests currently pass only with pandas<=1.0.5.
https://github.com/selik/xport/blob/6f06128e05f83aea546bde708f69ed83fc6c78cc/src/xport/v56.py#L891-L953