File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,15 +147,15 @@ def test_create_matrix(self):
147147
148148 def test_create_force (self ):
149149
150- mat = array ([[random .uniform (0 , 25 ) if random .random () > 0.95 else 0 for _ in xrange (25 )] for _ in xrange (25 )])
150+ mat = array ([[random .uniform (0 , 25 ) if random .random () > 0.95 else 0 for _ in range (25 )] for _ in range (25 )])
151151 viz = lightning .force (mat )
152152
153153 assert isinstance (viz , Visualization )
154154 assert hasattr (viz , 'id' )
155155
156156 def test_create_graph (self ):
157157
158- mat = array ([[random .uniform (0 , 25 ) if random .random () > 0.9 else 0 for _ in xrange (25 )] for _ in xrange (25 )])
158+ mat = array ([[random .uniform (0 , 25 ) if random .random () > 0.9 else 0 for _ in range (25 )] for _ in range (25 )])
159159 x = random .randn (25 )
160160 y = random .randn (25 )
161161
You can’t perform that action at this time.
0 commit comments