Skip to content

Commit bbaed26

Browse files
committed
Fix warning for RequiresIOShield
Thanks tab completion.
1 parent 69e5dbd commit bbaed26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx_toolbox/shields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def run(self) -> List[nodes.Node]:
585585

586586
warnings.warn(
587587
"RequiresIOShield (.. requires-io-shield::) is deprecated as requires.io has shut down",
588-
UnicodeDecodeError
588+
DeprecationWarning
589589
)
590590

591591
username, repository = self.get_repo_details()

0 commit comments

Comments
 (0)