kplindegaard / smbus2

A drop-in replacement for smbus-cffi/smbus-python in pure Python
MIT License
243 stars 68 forks source link

Fix tests #87

Closed hramrach closed 1 year ago

hramrach commented 1 year ago

assertEquals is deprecated, use assertEqual.

Remove assert that consistently fails with

AssertionError: assert 5 == 'Mock file descriptor'

Signed-off-by: Michal Suchanek msuchanek@suse.de

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

kplindegaard commented 1 year ago

Cheers and thanks @hramrach