gh-103553: Improve test_inspect: add more assertions, remove unused
#103554
+9
−15
test_inspect: add more assertions, remove unused
#103554