Skip to content

Commit

Permalink
add conftest.py for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Aug 2, 2024
1 parent fb4d5aa commit ef58e84
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nicegui/testing/conftest.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit ef58e84

Please sign in to comment.