Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

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

Closed
Arfrever opened this issue Feb 25, 2014 · 2 comments
Closed

Comments

@Arfrever
Copy link

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 << ----------------------
@tacaswell tacaswell added this to the v1.5.x milestone Feb 25, 2014
@WeatherGod
Copy link
Member

Can we have someone test to see if this is still present in master? Also, I am not really sure where __spec__ is used in our codebase.

Either this needs to be fixed, or we need to document that 1.4 will not support py3.4 upon release.

@efiring
Copy link
Member

efiring commented May 22, 2016

Closed by #2981.

@efiring efiring closed this as completed May 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants