Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
better error message for TypeError on datetime parsing #766
While working on #763 I discovered that we had no tests and ugly errors if anything other than a native datetime/date/time/timedelta, string, int or float was passed to those parsers.
Github doesn't do a very good job of showing it, but this change is mainly just an indentation change plus adding
@@ Coverage Diff @@ ## master #766 +/- ## ===================================== Coverage 100% 100% ===================================== Files 15 15 Lines 2734 2747 +13 Branches 541 546 +5 ===================================== + Hits 2734 2747 +13