Skip to content

Commit af04673

Browse files
authored
tests: improve skip msg with skip_if_no_django (pytest-dev#479)
1 parent 95ac974 commit af04673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_django/lazy_django.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
def skip_if_no_django():
1212
"""Raises a skip exception when no Django settings are available"""
1313
if not django_settings_is_configured():
14-
pytest.skip('Test skipped since no Django settings is present.')
14+
pytest.skip('no Django settings')
1515

1616

1717
def django_settings_is_configured():

0 commit comments

Comments
 (0)