summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/popen2.py2
-rw-r--r--Lib/test/test_popen2.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/popen2.py b/Lib/popen2.py
index 3f84bf9..54543be 100644
--- a/Lib/popen2.py
+++ b/Lib/popen2.py
@@ -213,7 +213,7 @@ def _test():
raise ValueError("wrote %r read %r" % (teststr, got))
got = e.read()
if got:
- raise ValueError("unexected %r on stderr" % (got,))
+ raise ValueError("unexpected %r on stderr" % (got,))
for inst in _active[:]:
inst.wait()
if _active:
diff --git a/Lib/test/test_popen2.py b/Lib/test/test_popen2.py
index 2a15a20..18142ec 100644
--- a/Lib/test/test_popen2.py
+++ b/Lib/test/test_popen2.py
@@ -62,7 +62,7 @@ def _test():
raise ValueError("wrote %r read %r" % (teststr, got))
got = e.read()
if got:
- raise ValueError("unexected %r on stderr" % (got,))
+ raise ValueError("unexpected %r on stderr" % (got,))
for inst in popen2._active[:]:
inst.wait()
if popen2._active: