-
Notifications
You must be signed in to change notification settings - Fork 445
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
Broken testsuite #106
Labels
Comments
tzjames
pushed a commit
to Khan/babel
that referenced
this issue
Sep 16, 2014
Summary: Just like we did for javascript in: http://phabricator.khanacademy.org/rBAe053e691f92c32e3cf9f9bd82facf121c80d6f09 We now will merge multi-line comments onto a single line for messages extracted from python too. This is an issue for us since we sort the comments in order to make the diffs cleaner, and unless the comment lines were in alphabetical order they got scrambled up. While at it I also fixed a spelling mistake in one of the test files. Test Plan: cd third-party/babel-khansrc make standalone-test It spits out 3 errors, but that is a known issue: python-babel/babel#106 Reviewers: csilvers Reviewed By: csilvers Differential Revision: http://phabricator.khanacademy.org/D13207
I made the necessary changes and added to my other pull request. I think there were a wrong assumption in the test suite according to: I also found two of the test incomprehensible in their original form. |
Already fixed, a couple of times apparently. Closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Babel testsuite (and maybe the code as well, I did not check) is broken as it uses pytz API which is documented not to work. In short pytz timezones should not be used as tzinfo parameter to date/datetime functions, but rather the localize method should be used. See https://bugs.launchpad.net/pytz/+bug/1324158 for pytz bugreports and note in pytz documentation: http://pythonhosted.org//pytz/#introduction
The text was updated successfully, but these errors were encountered: