We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45eeba9 commit 5806466Copy full SHA for 5806466
1 file changed
library/tests/test_compensation.py
@@ -29,7 +29,7 @@ def test_calc_gas_resistance(smbus, calibration):
29
"""Validate gas calculation against mock calibration data."""
30
sensor = bme680.BME680()
31
sensor.calibration_data = calibration
32
- assert sensor._calc_gas_resistance(0, 0) == 12946860
+ assert int(sensor._calc_gas_resistance(0, 0)) == 12946860
33
34
35
def test_temp_offset(smbus, calibration):
0 commit comments