diff options
author | Michael W. Hudson <mwh@python.net> | 2005-05-27 14:58:06 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2005-05-27 14:58:06 (GMT) |
commit | ff52286d4a43d2a525ace6b68775f8fc60ed7a88 (patch) | |
tree | ffb74a8230953959d9fe6379dcb143f9cca764e9 /Lib/test/test_site.py | |
parent | 631bfe602f20c7d0e34b79be604c6040f8691c75 (diff) | |
download | cpython-ff52286d4a43d2a525ace6b68775f8fc60ed7a88.zip cpython-ff52286d4a43d2a525ace6b68775f8fc60ed7a88.tar.gz cpython-ff52286d4a43d2a525ace6b68775f8fc60ed7a88.tar.bz2 |
Fix test_site to not call open('...', 'wU'), as that now raises an error.
Is anyone running the test suite regularly at the moment?
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r-- | Lib/test/test_site.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index ba6f94d..3a8b9d3 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -117,7 +117,7 @@ class PthFile(object): Make sure to call self.cleanup() to undo anything done by this method. """ - FILE = open(self.file_path, 'wU') + FILE = open(self.file_path, 'w') try: print>>FILE, "#import @bad module name" print>>FILE, "\n" |