Skip to content

TST: Use unicode literals in string test #10405

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

Merged
merged 1 commit into from
Jun 23, 2015

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Jun 22, 2015

Follow-up of #10397. Fix some ugly unicode tests. Shall I fix followings also?

  • Remove compat.u() completely, because the escaped literal is different from normal unicode literals internally.
  • Remove compat.callable brought back in v3.2 (some code doesn't use compat.callable already)

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

jreback commented Jun 22, 2015

should we change ALL usages of u(), not even sure how much work that would be (is it even worth it?)

@jreback jreback added the Unicode Unicode strings label Jun 22, 2015
@sinhrks
Copy link
Member Author

sinhrks commented Jun 23, 2015

@jreback I think we should not use u() further, but no need to change existing impl which currently works. If OK, let me merge this.

@jreback
Copy link
Contributor

jreback commented Jun 23, 2015

ok, that sounds fine. I didn't really search the docs, but if you find any reference saying to use u() let's clear that up.

@jreback
Copy link
Contributor

jreback commented Jun 23, 2015

merge when ready

@sinhrks
Copy link
Member Author

sinhrks commented Jun 23, 2015

Thanks. I found no description in the doc, but in wiki. Merging this and fix wiki.

sinhrks added a commit that referenced this pull request Jun 23, 2015
TST: Use unicode literals in string test
@sinhrks sinhrks merged commit 5bf4ff2 into pandas-dev:master Jun 23, 2015
@sinhrks sinhrks deleted the test_unicode branch June 23, 2015 14:12
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 Unicode Unicode strings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants