You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
I received this error in my python-storage system test, testing for crc32c fallback to pure python on python 3, which suggests that the warnings.warn() arguments are transposed in init.py.
import warnings
_SLOW_CRC32C_WARNING = (
"As the c extension couldn't be imported, `google-crc32c` is using a "
"pure python implementation that is significantly slower. If possible, "
"please configure a c build environment and compile the extension"
)
# If available, default to CFFI Implementation, otherwise, use pure python.
try:
from crc32c import cffi as _crc32c
implementation = "cffi"
except ImportError:
from crc32c import python as _crc32c
> warnings.warn(RuntimeWarning, "_SLOW_CRC32C_WARNING",)
I received this error in my python-storage system test, testing for crc32c fallback to pure python on python 3, which suggests that the warnings.warn() arguments are transposed in init.py.