components/python/networkx/patches/01-no-tests.patch
changeset 3998 5bd484384122
equal deleted inserted replaced
3997:0ca3f3d6c919 3998:5bd484384122
       
     1 Patch to remove import of networkx/tests/test.py as part of general
       
     2 networkx import. This patch may be relevant upstream after discussion
       
     3 with the author.
       
     4 
       
     5 --- networkx-1.9/networkx/__init__.py.orig	2014-06-25 11:02:09.000000000 -0700
       
     6 +++ networkx-1.9/networkx/__init__.py	2014-12-01 12:26:26.896445274 -0800
       
     7 @@ -82,7 +82,6 @@ from networkx.algorithms import *
       
     8  import networkx.linalg
       
     9  
       
    10  from networkx.linalg import *
       
    11 -from networkx.tests.test import run as test
       
    12  
       
    13  import networkx.drawing
       
    14  from networkx.drawing import *