Skip to content

Commit

Permalink
Merge branch 'hg'
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-horak committed Jan 21, 2025
2 parents a55ca1c + 69501e2 commit c621f3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/cli/t_pkg_varcet.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# CDDL HEADER END
#

# Copyright (c) 2013, 2024, Oracle and/or its affiliates.
# Copyright (c) 2013, 2025, Oracle and/or its affiliates.

from . import testutils
if __name__ == "__main__":
Expand Down Expand Up @@ -819,7 +819,7 @@ def __init__(self, problem, inproblem):
self.assertRaises(TypeError, facets.allow_action, Action(1, 0), None)

# value encoding failure handling
self.assertEquals(facets.allow_action(Action(0, 1), None), False)
self.assertEqual(facets.allow_action(Action(0, 1), None), False)
self.assertRaises(
KeyboardInterrupt, facets.allow_action, Action(0, 2), None
)
Expand All @@ -844,7 +844,7 @@ def __init__(self, problem):

# attr and value encoding failure handling
self.assertRaises(TypeError, variants.allow_action, Action(1), None)
self.assertEquals(variants.allow_action(Action(2), None), False)
self.assertEqual(variants.allow_action(Action(2), None), False)

# variant value encoding failure handling
variants = variant.Variants({"variant.icecream": b"strawberry"})
Expand Down

0 comments on commit c621f3e

Please sign in to comment.