Skip to content

Commit 4846834

Browse files
committed
[DELETE]: remove guard clause for tests that are not relevant in older fw versions
Signed-off-by: Adrian-Stanea <Adrian.Stanea@analog.com>
1 parent 92dd57d commit 4846834

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/m2k_analog_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ def test_buffer_transition_glitch(self):
279279
with self.subTest(msg='Test buffer transition glitch: ' + waveform + ' on ch' + str(channel)):
280280
self.assertEqual(num_glitches, 0, 'Found ' + str(num_glitches) + ' glitches on channel ' + str(channel))
281281

282-
@unittest.skipIf(ctx.getFirmwareVersion() < 'v0.33',
283-
'The sample and hold feature is available starting with firmware v0.33. Note: v0.32 had a glitch that is handled in this test.')
282+
# @unittest.skipIf(ctx.getFirmwareVersion() < 'v0.33',
283+
# 'The sample and hold feature is available starting with firmware v0.33. Note: v0.32 had a glitch that is handled in this test.')
284284
def test_last_sample_hold(self):
285285
# Tests the last sample hold functionality for different channels and DAC sample rates.
286286
# This test iterates over different channels (each channel individually and both channels together)
@@ -303,7 +303,7 @@ def test_last_sample_hold(self):
303303
self.assertEqual(is_last_sample_hold_ok, True, f'Last sample hold failed on {chn_str} with DAC SR {sr_format}')
304304
self.assertEqual(is_idle_ok, True, 'Test idle condition failed')
305305

306-
@unittest.skipIf(ctx.getFirmwareVersion() < 'v0.33', 'DAC triggering is available starting with firmware v0.33')
306+
# @unittest.skipIf(ctx.getFirmwareVersion() < 'v0.33', 'DAC triggering is available starting with firmware v0.33')
307307
def test_aout_triggering(self):
308308
# Test the triggering functionality of the M2kAnalogOut.
309309
# The test looks for patterns before and after the trigger event for 8 different combinations.

0 commit comments

Comments
 (0)