Skip to content

TST: add tests for Timestamp.toordinal/fromordinal #13610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Jul 10, 2016

added tests and fixed missed doc change.

@sinhrks sinhrks added the Testing pandas testing functions or related to the test suite label Jul 10, 2016
@sinhrks sinhrks added this to the 0.19.0 milestone Jul 10, 2016
@@ -235,7 +235,7 @@ class Timestamp(_Timestamp):
----------
ts_input : datetime-like, str, int, float
Value to be converted to Timestamp
offset : str, DateOffset
freq : str, DateOffset
Copy link
Contributor

Choose a reason for hiding this comment

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

let's list offset (and say it's deprecated)

Copy link
Contributor

Choose a reason for hiding this comment

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

as well

Copy link
Member Author

Choose a reason for hiding this comment

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

updated docstrings of class and fromordinal.

@sinhrks sinhrks changed the title TST: add tests for Timestamp.toordinal TST: add tests for Timestamp.toordinal/fromordinal Jul 11, 2016
@codecov-io
Copy link

codecov-io commented Jul 11, 2016

Current coverage is 84.38%

Merging #13610 into master will not change coverage

@@             master     #13610   diff @@
==========================================
  Files           142        142          
  Lines         51225      51225          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits          43225      43225          
  Misses         8000       8000          
  Partials          0          0          

Powered by Codecov. Last updated by 20de266...28f8d41

@sinhrks sinhrks force-pushed the depr_timestamp_offset2 branch from 6f9ac7d to 825a169 Compare July 11, 2016 23:00
@sinhrks sinhrks force-pushed the depr_timestamp_offset2 branch from 825a169 to 28f8d41 Compare July 13, 2016 15:19
@jreback jreback closed this in 05b976c Jul 15, 2016
@jreback
Copy link
Contributor

jreback commented Jul 15, 2016

thanks!

@sinhrks sinhrks deleted the depr_timestamp_offset2 branch July 15, 2016 00:19
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.

3 participants