File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
tests/test_core/test_optional_imports Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def test_get_module_does_not_exist(self):
2424
2525 def test_get_module_import_exception (self ):
2626 # Get module that raises an exception on import
27- module_str = "plotly. tests.test_core." " test_optional_imports.exploding_module"
27+ module_str = ( " tests.test_core.test_optional_imports.exploding_module")
2828
2929 if sys .version_info >= (3 , 4 ):
3030 with self .assertLogs ("_plotly_utils.optional_imports" , level = "ERROR" ) as cm :
@@ -38,7 +38,6 @@ def test_get_module_import_exception(self):
3838 "ERROR:_plotly_utils.optional_imports:"
3939 "Error importing optional module " + module_str
4040 )
41-
4241 self .assertEqual (cm .output [0 ][: len (expected_start )], expected_start )
4342
4443 # Check that exception message is included after log message
You can’t perform that action at this time.
0 commit comments