Skip to content

matplotlib.tests.test_basic.test_override_builtins() fails with Python >=3.4 #2842

Closed
@Arfrever

Description

@Arfrever

matplotlib.tests.test_basic.test_override_builtins() fails with Python >=3.4 due to __spec__.
http://docs.python.org/3.4/reference/import.html#__spec__

I use Matplotlib 1.3.1.

======================================================================
FAIL: matplotlib.tests.test_basic.test_override_builtins
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/tmp/matplotlib-1.3.1-tests/usr/lib64/python3.4/site-packages/matplotlib/tests/test_basic.py", line 38, in test_override_builtins
    assert not overridden
nose.proxy.AssertionError:
-------------------- >> begin captured stdout << ---------------------
'__spec__' was overridden in globals().

--------------------- >> end captured stdout << ----------------------

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions