Skip a test in test_filediff_creator if Mercurial is not installed.

Review Request #14544 — Created July 31, 2025 and submitted

Information

Review Board
release-7.x

Reviewers

One of the unit tests in the FileDiffCreatorTests is pretty Mercurial
specific (testing the case of an hg diff without per-file revisions but
with a valid parent diff). Because we don't install Mercurial by
default, this test fails in a brand new virtualenv.

Ran test suite without Mercurial installed and saw that the failing
test was now skipped.

Summary ID
Skip a test in test_filediff_creator if Mercurial is not installed.
One of the unit tests in the FileDiffCreatorTests is pretty Mercurial specific (testing the case of an hg diff without per-file revisions but with a valid parent diff). Because we don't install Mercurial by default, this test fails in a brand new virtualenv. Testing Done: Ran test suite without Mercurial installed and saw that the failing test was now skipped.
7fdf78200ab9607d6b17a4409572d82feba09b1e
maubin
  1. Ship It!
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.x (ab783e1)