homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author antoine.pietri
Recipients Dolda2000, antoine.pietri, benjamin.peterson, cvrebert, georg.brandl, ned.deily, pitrou, r.david.murray, vajrasky, vstinner
Date 2018年03月12日.16:24:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520871870.97.0.467229070634.issue22674@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, sorry, the issue is that we decided with pitrou to remove the osx specific handling.
The fix should be:
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index fbb12a5b67..ae0351e992 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -58,8 +58,10 @@ class PosixTests(unittest.TestCase):
 self.assertEqual(signal.getsignal(signal.SIGHUP), hup)
 
 def test_strsignal(self):
- self.assertEqual(signal.strsignal(signal.SIGINT), "Interrupt")
- self.assertEqual(signal.strsignal(signal.SIGTERM), "Terminated")
+ self.assertTrue(signal.strsignal(signal.SIGINT)
+ .startswith("Interrupt"))
+ self.assertTrue(signal.strsignal(signal.SIGTERM)
+ .startswith("Terminated"))
 
 # Issue 3864, unknown if this affects earlier versions of freebsd also
 def test_interprocess_signal(self):
Should I submit a new PR for this?
History
Date User Action Args
2018年03月12日 16:24:31antoine.pietrisetrecipients: + antoine.pietri, georg.brandl, pitrou, vstinner, benjamin.peterson, ned.deily, r.david.murray, cvrebert, Dolda2000, vajrasky
2018年03月12日 16:24:30antoine.pietrisetmessageid: <1520871870.97.0.467229070634.issue22674@psf.upfronthosting.co.za>
2018年03月12日 16:24:30antoine.pietrilinkissue22674 messages
2018年03月12日 16:24:30antoine.pietricreate

AltStyle によって変換されたページ (->オリジナル) /