File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
plotly/tests/test_core/test_tools Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -1371,9 +1371,7 @@ class Test2D_Density(TestCase):
1371
1371
def test_validate_2D_density (self ):
1372
1372
1373
1373
# validate that x and y contain only numbers
1374
-
1375
1374
x = [1 , 2 ]
1376
-
1377
1375
y = ['a' , 2 ]
1378
1376
1379
1377
pattern = ("All elements of your 'x' and 'y' lists must be numbers." )
@@ -1382,9 +1380,7 @@ def test_validate_2D_density(self):
1382
1380
tls .FigureFactory .create_2D_density , x , y )
1383
1381
1384
1382
# validate that x and y are the same length
1385
-
1386
1383
x2 = [1 ]
1387
-
1388
1384
y2 = [1 , 2 ]
1389
1385
1390
1386
pattern2 = ("Both lists 'x' and 'y' must be the same length." )
@@ -1395,7 +1391,6 @@ def test_validate_2D_density(self):
1395
1391
def test_2D_density_all_args (self ):
1396
1392
1397
1393
# check if 2D_density data matches with expected output
1398
-
1399
1394
x = [1 , 2 ]
1400
1395
y = [2 , 4 ]
1401
1396
You can’t perform that action at this time.
0 commit comments