mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Raise statement normalization in Lib/test/.
This commit is contained in:
parent
e0281cab81
commit
3add4d78ff
47 changed files with 218 additions and 218 deletions
|
@ -69,7 +69,7 @@ class PtyTest(unittest.TestCase):
|
|||
debug("Got slave_fd '%d'" % slave_fd)
|
||||
except OSError:
|
||||
# " An optional feature could not be imported " ... ?
|
||||
raise TestSkipped, "Pseudo-terminals (seemingly) not functional."
|
||||
raise TestSkipped("Pseudo-terminals (seemingly) not functional.")
|
||||
|
||||
self.assertTrue(os.isatty(slave_fd), 'slave_fd is not a tty')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue