diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 06:49:51 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 06:49:51 +0000 |
commit | 436d2416039c42bfa9665c0572ba3ec4f877156a (patch) | |
tree | 7ff9e8285951b40d0c1fd6c41b5a433461ec61a2 /Lib/test/test_exceptions.py | |
parent | dea90d92c29e799b501b366a2be16496d5e1f932 (diff) | |
download | cpython-436d2416039c42bfa9665c0572ba3ec4f877156a.tar.gz |
Get rid of a bunch more raw_input references
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r-- | Lib/test/test_exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index fdef876879..65f7876673 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -44,8 +44,8 @@ fp = open(TESTFN, 'r') savestdin = sys.stdin try: try: - sys.stdin = fp - x = raw_input() + import marshal + marshal.loads('') except EOFError: pass finally: |