Avoid harmless but annoying deprecation warning
Merge pull request #2951 from BanzaiMan/mocha_deprecation_warning

Avoid harmless but annoying deprecation warning