Skip to content

Commit 54b6cad

Browse files
Ryan P Kilbypelme
authored andcommitted
Fix deprecation warning (#395)
1 parent 8a67988 commit 54b6cad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_django/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ def pytest_addoption(parser):
5454
help='Re-create the database, even if it exists. This '
5555
'option can be used to override --reuse-db.')
5656
group._addoption('--ds',
57-
action='store', type='string', dest='ds', default=None,
57+
action='store', type=str, dest='ds', default=None,
5858
help='Set DJANGO_SETTINGS_MODULE.')
5959
group._addoption('--dc',
60-
action='store', type='string', dest='dc', default=None,
60+
action='store', type=str, dest='dc', default=None,
6161
help='Set DJANGO_CONFIGURATION.')
6262
group._addoption('--nomigrations', '--no-migrations',
6363
action='store_true', dest='nomigrations', default=False,

0 commit comments

Comments
 (0)