From ef58e848ee56914f17ccb560964bcb1f868acf5b Mon Sep 17 00:00:00 2001 From: Falko Schindler Date: Fri, 2 Aug 2024 15:47:07 +0200 Subject: [PATCH] add conftest.py for backward compatibility --- nicegui/testing/conftest.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 nicegui/testing/conftest.py diff --git a/nicegui/testing/conftest.py b/nicegui/testing/conftest.py new file mode 100644 index 000000000..c0f5da703 --- /dev/null +++ b/nicegui/testing/conftest.py @@ -0,0 +1,7 @@ +import warnings + +from .plugin import * # pylint: disable=wildcard-import,unused-wildcard-import # noqa: F403 + +# DEPRECATED +warnings.warn('Importing from nicegui.testing.conftest is deprecated. ' + 'Use pytest_plugins = ["nicegui.testing.plugin"] instead.', DeprecationWarning, stacklevel=-1)