Skip to content

Commit 388e029

Browse files
committed
fixup! Fix doc/desc of markers
1 parent 9f5645e commit 388e029

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pytest_django/plugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,7 @@ def get_marker_transaction(test):
334334
marker = test.get_marker("django_db")
335335
if marker:
336336
validate_django_db(marker)
337-
if marker:
338-
return marker.transaction
337+
return marker.transaction
339338
return None
340339

341340
def has_fixture(test, fixture):

0 commit comments

Comments
 (0)