Strip `c` from `.pyc` for error message comparison
In Python 2.7, `__file__` returns `.pyc` by default, this breaks our comparison so let's strip out the trailing `c`.
Showing
In Python 2.7, `__file__` returns `.pyc` by default, this breaks our comparison so let's strip out the trailing `c`.