Skip to content

Commit

Permalink
[AutoAccept][Codemod][Replace deprecated unittest asserts] fbcode//an…
Browse files Browse the repository at this point in the history
…tlir/compiler/items/tests

Reviewed By: vmagro

Differential Revision: D50787933

fbshipit-source-id: 6b5bb379b2c51bb2f3acf91603fecb4f02cf8328
  • Loading branch information
generatedunixname2443911735787003 authored and facebook-github-bot committed Oct 30, 2023
1 parent 81e1055 commit fbd1710
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions antlir/compiler/items/tests/test_rpm_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def test_version_override(self) -> None:
opts=layer_opts,
)
# pyre-fixme[16]: `RpmActionItemTestImpl` has no attribute `assertEquals`.
self.assertEquals(
self.assertEqual(
"carrot 1 lockme\n",
subvol.path("/rpm_test/carrot.txt").read_text(),
)
Expand Down Expand Up @@ -188,7 +188,7 @@ def _self_check():
_self_check()
# pyre-fixme[16]: `RpmActionItemTestImpl` has no attribute
# `assertEquals`.
self.assertEquals(
self.assertEqual(
"veggie 1 rc0\n",
subvol.path("/rpm_test/veggie.txt").read_text(),
)
Expand Down Expand Up @@ -217,7 +217,7 @@ def test_version_lock_and_override(self) -> None:
opts=layer_opts,
)
# pyre-fixme[16]: `RpmActionItemTestImpl` has no attribute `assertEquals`.
self.assertEquals(
self.assertEqual(
"carrot 1 lockme\n",
subvol.path("/rpm_test/carrot.txt").read_text(),
)
Expand Down

0 comments on commit fbd1710

Please sign in to comment.