Skip to content

Commit 5806466

Browse files
committed
Fix for test in py3
1 parent 45eeba9 commit 5806466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/tests/test_compensation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_calc_gas_resistance(smbus, calibration):
2929
"""Validate gas calculation against mock calibration data."""
3030
sensor = bme680.BME680()
3131
sensor.calibration_data = calibration
32-
assert sensor._calc_gas_resistance(0, 0) == 12946860
32+
assert int(sensor._calc_gas_resistance(0, 0)) == 12946860
3333

3434

3535
def test_temp_offset(smbus, calibration):

0 commit comments

Comments
 (0)