summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_signal.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index 56ab631..ca571b9 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -264,9 +264,9 @@ class WakeupFDTests(unittest.TestCase):
self.addCleanup(os.close, w2)
signal.set_wakeup_fd(w1)
- self.assertIs(signal.set_wakeup_fd(w2), w1)
- self.assertIs(signal.set_wakeup_fd(-1), w2)
- self.assertIs(signal.set_wakeup_fd(-1), -1)
+ self.assertEqual(signal.set_wakeup_fd(w2), w1)
+ self.assertEqual(signal.set_wakeup_fd(-1), w2)
+ self.assertEqual(signal.set_wakeup_fd(-1), -1)
@unittest.skipIf(sys.platform == "win32", "Not valid on Windows")