gh-74690: Add more tests for runtime-checkable protocols (GH-103347)

(cherry picked from commit 800382a2b0980c21dfb2a8ac02aaf1e881f987b9)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 file changed