Fixed failing test on python3. #2080

Merged
merged 1 commit into from May 29, 2013

Conversation

Projects
None yet
2 participants
@pelson
Member

pelson commented May 29, 2013

No description provided.

@pelson

This comment has been minimized.

Show comment Hide comment
@pelson

pelson May 29, 2013

Member

fixes #2075.

Member

pelson commented May 29, 2013

fixes #2075.

mdboom added a commit that referenced this pull request May 29, 2013

@mdboom mdboom merged commit e2d674c into matplotlib:v1.3.x May 29, 2013

1 check was pending

default The Travis CI build is in progress
Details
@mdboom

This comment has been minimized.

Show comment Hide comment
@mdboom

mdboom May 29, 2013

Owner

Sorry -- I should have waited for Travis before merging this. It seems there's a new problem behind this:

======================================================================
ERROR: matplotlib.tests.test_colors.test_cmap_and_norm_from_levels_and_colors2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.2/lib/python3.2/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/travis/virtualenv/python3.2/lib/python3.2/site-packages/matplotlib-1.3.x-py3.2-linux-x86_64.egg/matplotlib/tests/test_colors.py", line 166, in test_cmap_and_norm_from_levels_and_colors2
    for d_val, expected_color in sorted(cases.items()):
TypeError: unorderable types: str() < int()

If you can't get to this, I'll try to find a solution.

Owner

mdboom commented May 29, 2013

Sorry -- I should have waited for Travis before merging this. It seems there's a new problem behind this:

======================================================================
ERROR: matplotlib.tests.test_colors.test_cmap_and_norm_from_levels_and_colors2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.2/lib/python3.2/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/travis/virtualenv/python3.2/lib/python3.2/site-packages/matplotlib-1.3.x-py3.2-linux-x86_64.egg/matplotlib/tests/test_colors.py", line 166, in test_cmap_and_norm_from_levels_and_colors2
    for d_val, expected_color in sorted(cases.items()):
TypeError: unorderable types: str() < int()

If you can't get to this, I'll try to find a solution.

@mdboom

This comment has been minimized.

Show comment Hide comment
@mdboom

mdboom May 29, 2013

Owner

Fixed by f966e4a

Owner

mdboom commented May 29, 2013

Fixed by f966e4a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment