Skip to content

Commit 9f357fa

Browse files
committed
Test fixes
1 parent 7c19b62 commit 9f357fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_graph_objs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_old_class_names(self):
5252
# compat, so we basically just create a checkpoint with this test.
5353

5454
for class_name in OLD_CLASS_NAMES:
55-
self.assertIn(class_name, go.__dict__.keys())
55+
self.assertIsNotNone(getattr(go, class_name, None))
5656

5757
def test_title_as_string_layout(self):
5858
"""

0 commit comments

Comments
 (0)