Remove rednundant if __main__ from hardware tests
This commit is contained in:
parent
ce5b5b781c
commit
0751457ed3
2 changed files with 0 additions and 8 deletions
|
|
@ -69,7 +69,3 @@ def test_exposure_time_drift():
|
|||
"""
|
||||
for desired_time in [100, 1000, 10000]:
|
||||
_test_exposure_time_drift(desired_time)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_exposure_time_drift()
|
||||
|
|
|
|||
|
|
@ -28,7 +28,3 @@ def test_sensor_mode():
|
|||
# Note: Numpy array shape is (y,x), but the sensor is set with (x,y)
|
||||
# hence the need to compare index 0 with index 1.
|
||||
assert arr.shape[0] == size[1]
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_sensor_mode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue