Skip to content

Commit

Permalink
reset head and add in commit required to remove tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mayofaulkner committed Apr 10, 2024
1 parent baac90c commit e66e616
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ibllib/tests/qc/test_task_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ def _create_test_qc_outcomes():
class TestAggregateOutcome(unittest.TestCase):

def test_deprecation_warning(self):
"""Remove TaskQC.compute_session_status_from_dict after 2024-04-01."""
"""Remove TaskQC.compute_session_status_from_dict after 2024-06-01. Cherry pick commit
3cbbd1769e1ba82a51b09a992b2d5f4929f396b2 for removal of this test and applicable code"""
from datetime import datetime
self.assertFalse(datetime.now() > datetime(2024, 4, 10), 'remove TaskQC.compute_session_status_from_dict method.')
self.assertFalse(datetime.now() > datetime(2024, 6, 1), 'remove TaskQC.compute_session_status_from_dict method.')
qc_dict = {'_task_iti_delays': .99}
with self.assertWarns(DeprecationWarning), self.assertLogs(qcmetrics.__name__, spec.QC.WARNING):
out = qcmetrics.TaskQC.compute_session_status_from_dict(qc_dict)
Expand Down

0 comments on commit e66e616

Please sign in to comment.