showwarnings overloading broken
The current implementation of the overloaded showwarnings is broken. When a warning is thrown, the error message is
_warning() takes from 1 to 4 positional arguments but 6 were given
According to the Python docs:
Changed in version 2.7: The line argument is required to be supported.