Skip to content
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

TST: fix AttributeError: 'module' object has no attribute 'nl_langinfo' on Windows #5183

Merged
merged 1 commit into from Oct 8, 2015

Conversation

cgohlke
Copy link
Contributor

@cgohlke cgohlke commented Oct 4, 2015

Fixes one test error:

======================================================================
ERROR: Tests that DateFormatter matches datetime.strftime,
----------------------------------------------------------------------
Traceback (most recent call last):
  File "X:\Python34\lib\site-packages\nose\case.py", line 198, in runTest
    self.test(*self.arg)
  File "X:\Python34\lib\site-packages\matplotlib\tests\test_dates.py", line 207, in test_date_formatter_strftime
    test_strftime_fields(datetime.datetime(year, 1, 1))
  File "X:\Python34\lib\site-packages\matplotlib\tests\test_dates.py", line 198, in test_strftime_fields
    locale_d_fmt = locale.nl_langinfo(locale.D_FMT)
AttributeError: 'module' object has no attribute 'nl_langinfo'

@tacaswell tacaswell modified the milestone: next point release (1.5.0) Oct 8, 2015
mdboom added a commit that referenced this pull request Oct 8, 2015
TST: fix `AttributeError: 'module' object has no attribute 'nl_langinfo'` on Windows
@mdboom mdboom merged commit 4c5d808 into matplotlib:master Oct 8, 2015
mdboom added a commit that referenced this pull request Oct 8, 2015
TST: fix `AttributeError: 'module' object has no attribute 'nl_langinfo'` on Windows
@tacaswell
Copy link
Member

backported as 2ac4536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants