doc: Adding exit code for pytest usage examples (#8790) (#8800)
doc: Adding exit code for pytest usage examples (#8790) (#8800)

* doc: Adding exit code for pytest usage examples (#8790)

Fix #8790 

Co-authored-by: Bruno Oliveira <024fc659bb4ab842ec49c8a162b11a29104488bd@gmail.com>
Co-authored-by: Sripradha Karkala <81de59f492ae624b1098df127d7e4fb4f3bc558b@nutanix.com>
Akasurde/pytest,pytest-dev/pytest,markshao/pytest,RonnyPfannschmidt/pytest