When installing via pip, the installation includes the tests directory:
mkdir deps
python3 -m pip install --target deps "google-search-results==2.4.2"
ls -1 deps/tests
Outputs:
__init__.py
__pycache__
test_account_api.py
(etc)
Tests should be excluded.