matplotlib/matplotlib — Issue #745: Cannot run tests with Python 3.x on MacOS 10.7
Author: astrofrog
Created: 2012-03-07 16:32:12+00:00
State: open

If I try and run the matplotlib tests with Python 3.1 or 3.2 on MacOS X I get the following error (several times):

Traceback (most recent call last):
File "/Users/Shared/Jenkins/Home/virtualenvs.nose/python3.1-numpy1.6.1/lib/python3.1/site-packages/nose/failure.py", line 37, in runTest
raise self.exc_class(self.exc_val).with_traceback(self.tb)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose/python3.1-numpy1.6.1/lib/python3.1/site-packages/nose/loader.py", line 379, in loadTestsFromName
module = resolve_name(addr.module)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose/python3.1-numpy1.6.1/lib/python3.1/site-packages/nose/util.py", line 321, in resolve_name
module = __import__('.'.join(parts_copy))
File "/Users/Shared/Jenkins/Home/virtualenvs.nose/python3.1-numpy1.6.1/lib/python3.1/site-packages/matplotlib/tests/test_text.py", line 4, in
from matplotlib.testing.decorators import image_comparison, knownfailureif
File "/Users/Shared/Jenkins/Home/virtualenvs.nose/python3.1-numpy1.6.1/lib/python3.1/site-packages/matplotlib/testing/decorators.py", line 9, in
from matplotlib import pyplot as plt
File "/Users/Shared/Jenkins/Home/virtualenvs.nose/python3.1-numpy1.6.1/lib/python3.1/site-packages/matplotlib/pyplot.py", line 24, in
from matplotlib.figure import Figure, figaspect
File "/Users/Shared/Jenkins/Home/virtualenvs.nose/python3.1-numpy1.6.1/lib/python3.1/site-packages/matplotlib/figure.py", line 19, in
from .axes import Axes, SubplotBase, subplot_class_factory
File "/Users/Shared/Jenkins/Home/virtualenvs.nose/python3.1-numpy1.6.1/lib/python3.1/site-packages/matplotlib/axes.py", line 21, in
import matplotlib.dates as mdates
File "/Users/Shared/Jenkins/Home/virtualenvs.nose/python3.1-numpy1.6.1/lib/python3.1/site-packages/matplotlib/dates.py", line 122, in
from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, \
File "", line None
SyntaxError: invalid syntax (rrule.py, line 55)