Fix deprecated uses of pytest.raises()
Was already merged in Bitbucket before import, marked as merged by the import user
fixes pytest deprecation warnings with pytest >= 4.1
Meet users and developers of Mercurial at the London Sprint, May 27-29th https://mercurial-scm.org/news/2026/0001-london-sprint
Was already merged in Bitbucket before import, marked as merged by the import user
fixes pytest deprecation warnings with pytest >= 4.1