Pytest vs Unittest for testing Pytorch

I was looking at some of Pytorch source code with the interest of looking at how the unit tests have been done. I’ve noticed that most of the tests were written by unittest library but pytest was also utilized. Why not only using pytest? Is there merit in using unittest over only using pytest?