def sign(x):
    if x < 0: return -1 
    else: return 1
Test that the database is not updated when read_only is set to true.
dataset/ETHPy150Open estevaofon/angry-birds-python/pymunk-4.0.0/pymunk/util.py/sign--crossover with--dataset/ETHPy150Open gunthercox/ChatterBot/tests/storage_adapter_tests/integration_tests/base.py/StorageIntegrationTests.test_database_is_not_updated_when_read_only