From 772b1149a3bcb6846672412781b878b0394677a9 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Mon, 30 Oct 2023 15:00:09 -0400 Subject: [PATCH] Allow for external errors from shinywidgets in couple apps --- tests/e2e/examples/test_examples.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/e2e/examples/test_examples.py b/tests/e2e/examples/test_examples.py index c5853eea7..087021083 100644 --- a/tests/e2e/examples/test_examples.py +++ b/tests/e2e/examples/test_examples.py @@ -49,6 +49,16 @@ def get_apps(path: str) -> typing.List[str]: "RuntimeWarning: divide by zero encountered", "UserWarning: This figure includes Axes that are not compatible with tight_layout", ], + "airmass": [ + # shinywidgets.register_widget() uses `session` when registering widget + "ShinyDeprecationWarning: `session=` is deprecated", + "session_type_warning()", # continutation of line above + ], + "brownian": [ + # shinywidgets.register_widget() uses `session` when registering widget + "ShinyDeprecationWarning: `session=` is deprecated", + "session_type_warning()", # continutation of line above + ], } app_allow_external_errors: typing.List[str] = [ # plotnine: https://github.com/has2k1/plotnine/issues/713