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`. Cherry picked from #15742 f3faad7e.
Showing
Please
register
or
sign in
to comment