Skip to content

Commit 0a63e4c

Browse files
committed
Make message for scope error less ambiguous
1 parent d780537 commit 0a63e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_twisted.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class AsyncFixtureUnsupportedScopeError(Exception):
3535
@classmethod
3636
def from_scope(cls, scope):
3737
return cls(
38-
'Unsupported scope used for async fixture: {}'.format(scope)
38+
'Unsupported scope {0!r} used for async fixture'.format(scope)
3939
)
4040

4141

0 commit comments

Comments
 (0)