drslump / pyshould

Should style asserts based on pyhamcrest
MIT License
38 stars 7 forks source link

Be a date: matcher for providing datetime type check #39

Closed jsmolina closed 6 years ago

jsmolina commented 7 years ago

Including be_a_date matcher + unit test.

drslump commented 7 years ago

thanks @jsmolina! I left a comment regarding the comparison since I think it's best to also match datetime.date instances with this matcher. Could you review it?

jsmolina commented 7 years ago

great idea @drslump !

drslump commented 6 years ago

thanks @jsmolina! -- will issue a new minor release to reflect the changes shortly