idella4     14/08/01 03:25:26

  Added:                2.1.0-disable-tests.patch
  Log:
  major version bump: extensive re-write; add py3.4 support, drop keywords arm 
ia64 ppc ppc64 (which will be requested for re-addition), re-write of doc 
build, test phase, patch by cel1, thanks to cel1 for cross testing, fixes Bug 
507410
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.1                  dev-python/ipython/files/2.1.0-disable-tests.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/2.1.0-disable-tests.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/2.1.0-disable-tests.patch?rev=1.1&content-type=text/plain

Index: 2.1.0-disable-tests.patch
===================================================================
The extension magics for oct2py and rpy live now in the oct2py and rpy2 
package. The tests shipped with ipython are broken. We should disable 
those tests and remove the magics files:

IPython/extensions/rmagic.py -> rpy/ipython/rmagic.py
IPython/extension/octavemagic.py -> oct2py/ipython/octavemagic.py

deleted:    IPython/extensions/octavemagic.py
deleted:    IPython/extensions/rmagic.py
modified:   IPython/testing/iptest.py

diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py
index 45d2c78..db0bdfe 100644
--- a/IPython/testing/iptest.py
+++ b/IPython/testing/iptest.py
@@ -250,12 +250,10 @@ sec = test_sections['extensions']
 if not have['cython']:
     sec.exclude('cythonmagic')
     sec.exclude('tests.test_cythonmagic')
-if not have['oct2py']:
-    sec.exclude('octavemagic')
-    sec.exclude('tests.test_octavemagic')
-if not have['rpy2'] or not have['numpy']:
-    sec.exclude('rmagic')
-    sec.exclude('tests.test_rmagic')
+sec.exclude('octavemagic')
+sec.exclude('tests.test_octavemagic')
+sec.exclude('rmagic')
+sec.exclude('tests.test_rmagic')
 # autoreload does some strange stuff, so move it to its own test section
 sec.exclude('autoreload')
 sec.exclude('tests.test_autoreload')





Reply via email to