Commit fe5712d
committed
Match generic ValueError's text in tests for Commands
Fixes flake8-pytest-style (Ruff) linter error(s):
PT011 `pytest.raises(ValueError)` is too broad, set the `match`
parameter or use a more specific exception
This is an omission in dca5cdd, because
older versions of Ruff omitted them.1 parent 698dc95 commit fe5712dCopy full SHA for fe5712d
1 file changed
+22-3Lines changed: 22 additions & 3 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- tests/protocol
Expand file treeCollapse file tree
Open diff view settings
Collapse file
tests/protocol/test_commands.py
Copy file name to clipboardExpand all lines: tests/protocol/test_commands.py+22-3Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
| 9 | + |
9 | 10 | |
10 | 11 | |
11 | 12 | |
| ||
826 | 827 | |
827 | 828 | |
828 | 829 | |
829 | | - |
| 830 | + |
830 | 831 | |
831 | 832 | |
832 | 833 | |
| 834 | + |
| 835 | + |
| 836 | + |
| 837 | + |
833 | 838 | |
834 | 839 | |
835 | 840 | |
836 | 841 | |
| 842 | + |
| 843 | + |
| 844 | + |
| 845 | + |
837 | 846 | |
838 | 847 | |
839 | 848 | |
840 | 849 | |
| 850 | + |
| 851 | + |
| 852 | + |
| 853 | + |
841 | 854 | |
842 | 855 | |
843 | 856 | |
844 | 857 | |
845 | | - |
846 | | - |
| 858 | + |
| 859 | + |
| 860 | + |
| 861 | + |
| 862 | + |
| 863 | + |
| 864 | + |
| 865 | + |
847 | 866 | |
848 | 867 | |
849 | 868 | |
|
0 commit comments