Skip to content

Commit c9ff71e

Browse files
committed
updated pertinent tests to use new testing tool locations.
1 parent c0933b9 commit c9ff71e

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

plotly/tests/test_core/test_graph_objs/test_strip_style.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import absolute_import
22

33
from plotly.graph_objs import *
4-
from . import nose_tools
4+
from plotly.tests.utils import compare_dict
55

66

77
def test_strip_style():
@@ -145,6 +145,6 @@ def test_strip_style():
145145
margin=Margin()
146146
)
147147
)
148-
equivalent, msg = nose_tools.compare_dict(fig, comp_fig)
148+
equivalent, msg = compare_dict(fig, comp_fig)
149149
print(msg)
150150
assert equivalent

plotly/tests/test_optional/test_matplotlylib/test_annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
matplotlib.use('Agg')
66
import matplotlib.pyplot as plt
77

8-
from .nose_tools import compare_dict, run_fig
8+
from plotly.tests.test_optional import compare_dict, run_fig
99
from .data.annotations import *
1010

1111

plotly/tests/test_optional/test_matplotlylib/test_axis_scales.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
matplotlib.use('Agg')
44
import matplotlib.pyplot as plt
55

6-
from .nose_tools import compare_dict, run_fig
6+
from plotly.tests.test_optional import compare_dict, run_fig
77
from .data.axis_scales import *
88

99

plotly/tests/test_optional/test_matplotlylib/test_bars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
matplotlib.use('Agg')
44
import matplotlib.pyplot as plt
55

6-
from .nose_tools import compare_dict, run_fig
6+
from plotly.tests.test_optional import compare_dict, run_fig
77
from .data.bars import *
88

99

plotly/tests/test_optional/test_matplotlylib/test_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
matplotlib.use('Agg')
44
import matplotlib.pyplot as plt
55

6-
from .nose_tools import run_fig
6+
from plotly.tests.test_optional import run_fig
77
from .data.data import *
88

99

plotly/tests/test_optional/test_matplotlylib/test_lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
matplotlib.use('Agg')
44
import matplotlib.pyplot as plt
55

6-
from .nose_tools import compare_dict, run_fig
6+
from plotly.tests.test_optional import compare_dict, run_fig
77
from .data.lines import *
88

99

plotly/tests/test_optional/test_matplotlylib/test_scatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
matplotlib.use('Agg')
44
import matplotlib.pyplot as plt
55

6-
from .nose_tools import compare_dict, run_fig
6+
from plotly.tests.test_optional import compare_dict, run_fig
77
from .data.scatter import *
88

99

plotly/tests/test_optional/test_matplotlylib/test_subplots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import matplotlib.pyplot as plt
55
from matplotlib.gridspec import GridSpec
66

7-
from .nose_tools import compare_dict, run_fig
7+
from plotly.tests.test_optional import compare_dict, run_fig
88
from .data.subplots import *
99

1010

0 commit comments

Comments
 (0)