fixed pytest deprecation warning
- closes #19703
fixed pytest deprecation warning
Hello @bhaveshpoddar94! Thanks for updating the PR.



Cheers ! There are no PEP8 issues in this Pull Request. :beers: 

##### Comment last updated on March 05, 2018 at 00:01 Hours UTC thanks @bhaveshpoddar94 