def close(self):
        if self._fd is None:
            return

        try:
            os.close(self._fd)
        except OSError as e:
            raise I2CError(e.errno, "Closing I2C device: " + e.strerror)

        self._fd = None

    # Immutable properties
If an ``Application`` is configured with a volume and exists with that
dataset/ETHPy150Open vsergeev/python-periphery/periphery/i2c.py/I2C.close--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/test/test_container.py/ApplicationNodeDeployerCalculateVolumeChangesTests.test_resized_volume_no_changes