Kaydet (Commit) 107d65d1 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix typo in test names

...@@ -2804,11 +2804,11 @@ class SignalsTest(unittest.TestCase): ...@@ -2804,11 +2804,11 @@ class SignalsTest(unittest.TestCase):
os.close(w) os.close(w)
os.close(r) os.close(r)
def test_interrupterd_read_retry_buffered(self): def test_interrupted_read_retry_buffered(self):
self.check_interrupted_read_retry(lambda x: x.decode('latin1'), self.check_interrupted_read_retry(lambda x: x.decode('latin1'),
mode="rb") mode="rb")
def test_interrupterd_read_retry_text(self): def test_interrupted_read_retry_text(self):
self.check_interrupted_read_retry(lambda x: x, self.check_interrupted_read_retry(lambda x: x,
mode="r") mode="r")
...@@ -2867,10 +2867,10 @@ class SignalsTest(unittest.TestCase): ...@@ -2867,10 +2867,10 @@ class SignalsTest(unittest.TestCase):
if e.errno != errno.EBADF: if e.errno != errno.EBADF:
raise raise
def test_interrupterd_write_retry_buffered(self): def test_interrupted_write_retry_buffered(self):
self.check_interrupted_write_retry(b"x", mode="wb") self.check_interrupted_write_retry(b"x", mode="wb")
def test_interrupterd_write_retry_text(self): def test_interrupted_write_retry_text(self):
self.check_interrupted_write_retry("x", mode="w", encoding="latin1") self.check_interrupted_write_retry("x", mode="w", encoding="latin1")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment