diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2017-10-26 12:45:11 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2017-10-26 12:45:11 +0300 |
commit | eda8a841ac7457ffe05c4a4248d6dff074b72326 (patch) | |
tree | e39ae185dc350d278d1f498460ac50b96956686f /gnu/packages/patches/python-2.7-adjust-tests.patch | |
parent | b7883b111d92746ff3bedb6f4bb4c1578068fc59 (diff) | |
parent | 49c620e0685a0bbe40ff69159a9ca562ba02ca7f (diff) |
Merge remote-tracking branch 'origin/python-updates' into core-updates
Diffstat (limited to 'gnu/packages/patches/python-2.7-adjust-tests.patch')
-rw-r--r-- | gnu/packages/patches/python-2.7-adjust-tests.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-2.7-adjust-tests.patch b/gnu/packages/patches/python-2.7-adjust-tests.patch new file mode 100644 index 0000000000..12fe6e2e1e --- /dev/null +++ b/gnu/packages/patches/python-2.7-adjust-tests.patch @@ -0,0 +1,22 @@ +SIGINT is ignored in the Guix build environment. + +--- a/Lib/test/test_regrtest.py ++++ b/Lib/test/test_regrtest.py +@@ -399,6 +399,8 @@ + output = self.run_tests('--fromfile', filename) + self.check_executed_tests(output, tests) + ++ @unittest.skipIf(True, ++ "KeyboardInterrupts do not work in the build environment") + def test_interrupted(self): + code = TEST_INTERRUPTED + test = self.create_test('sigint', code=code) +@@ -416,6 +418,8 @@ + % (self.TESTNAME_REGEX, len(tests))) + self.check_line(output, regex) + ++ @unittest.skipIf(True, ++ "KeyboardInterrupts do not work in the build environment") + def test_slow_interrupted(self): + # Issue #25373: test --slowest with an interrupted test + code = TEST_INTERRUPTED |