use print function
Removed a few pylint warnings
mock_api: Allow using __file__ in test setup
New (experimental) 'warn_only' feature