commit | c1f3f37990840be797927c826fc638a661ebb5f6 | [log] [tgz] |
---|---|---|
author | Goutham Pacha Ravi <gouthampravi@gmail.com> | Wed Oct 23 13:16:16 2024 -0700 |
committer | Goutham Pacha Ravi <gouthampravi@gmail.com> | Wed Oct 23 13:16:16 2024 -0700 |
tree | d92f3237b6d1aaeeab394ec37961e39a46bf93b8 | |
parent | 1cf281f9878f3ece0d64e84dd6885d3c4de8f336 [diff] |
Replace the use of assertDictContainsSubset The method was deprecated in Python 3.2 [1]; and no longer available in Python version 3.12 [2] assertLessEqual [3] offers a decent alternative. [1] https://docs.python.org/3/whatsnew/3.2.html#unittest [2] https://docs.python.org/3/whatsnew/3.12.html#id3 [3] https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertLessEqual Change-Id: I74276297d80cbd055a9347b0d595fe7c2d7742cc Closes-Bug: #2085467 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>