You probably have a printerClass set up in your phpunit.xml file. If you remove it there it goes back to normal.
For example:
<phpunit printerClass="Sempro\PHPUnitPrettyPrinter\PrettyPrinter"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
...
Remove the printerClass and everything is good again!