Skip to content

Conversation

@sinhrks
Copy link
Member

@sinhrks sinhrks commented Jul 4, 2015

Should not input pandas version manually to avoid any mistake.

@sinhrks sinhrks added the Testing pandas testing functions or related to the test suite label Jul 4, 2015
@sinhrks sinhrks added this to the 0.17.0 milestone Jul 4, 2015
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one 1 arg needed then

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The condition looks incorrect in current master and the message is not displayed properly. After this PR, it only need 1 arg (sys.argv must be 2).

# current master
$ generate_legacy_pickles.py 0.16.0
Traceback (most recent call last):
  File ".../generate_legacy_pickles.py", line 151, in write_legacy_pickles
    output_dir = str(sys.argv[2])
IndexError: list index out of range

@jreback
Copy link
Contributor

jreback commented Jul 6, 2015

lgtm

jreback added a commit that referenced this pull request Jul 6, 2015
TST: Simplify genelate_legacy_pickles.py usage
@jreback jreback merged commit 4a03e93 into pandas-dev:master Jul 6, 2015
@sinhrks sinhrks deleted the gen_pickle branch July 6, 2015 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants