| 1 | Fromscip-debian debian mercurial 7.2.2-1 mercurial/patches/`0005-Tolerate-SIGINT-getting-the-kill-in-test-stdio.py.patch`#From.: Tristan Seligmann <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 | Datescip-debian debian mercurial 7.2.2-1 mercurial/patches/`0005-Tolerate-SIGINT-getting-the-kill-in-test-stdio.py.patch`#Date.: Mon, 17 Aug 2020 10:30:26 +0200 |
| 3 | Subjectscip-debian debian mercurial 7.2.2-1 mercurial/patches/`0005-Tolerate-SIGINT-getting-the-kill-in-test-stdio.py.patch`#Subject.: Tolerate SIGINT getting the kill in test-stdio.py. |
| 4 | |
| 5 | Forwarded: https://bz.mercurial-scm.org/show_bug.cgi?id=6402 |
| 6 | --- |
| 7 | tests/test-stdio.py | 2 +- |
| 8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 | |
| 10 | --- a/tests/test-stdio.pyscip-debian debian mercurial 7.2.2-1 mercurial/upstream/`tests/test-stdio.py`: |
| 11 | +++ b/tests/test-stdio.pyscip-debian debian mercurial 7.2.2-1 mercurial/upstream/`tests/test-stdio.py`: |
| 12 | @@ -180,7 +180,7 @@ class TestStdio(unittest.TestCase): |
| 13 | raise |
| 14 | finally: |
| 15 | retcode = proc.wait() |
| 16 | - self.assertEqual(retcode, 0) |
| 17 | + self.assertIn(retcode, [0, -2]) |
| 18 | if post_child_check is not None: |
| 19 | post_child_check() |
| 20 |