Remove some from __future__ import with_statements

This commit is contained in:
Benjamin Peterson 2008-04-30 21:25:55 +00:00
parent 655fc7012a
commit 95287fa951
7 changed files with 0 additions and 7 deletions

View File

@ -5,7 +5,6 @@ default, these calendars have Monday as the first day of the week, and
Sunday as the last (the European convention). Use setfirstweekday() to Sunday as the last (the European convention). Use setfirstweekday() to
set the first day of the week (0=Monday, 6=Sunday).""" set the first day of the week (0=Monday, 6=Sunday)."""
from __future__ import with_statement
import sys import sys
import datetime import datetime
import locale as _locale import locale as _locale

View File

@ -1,5 +1,4 @@
# Tests command line execution of scripts # Tests command line execution of scripts
from __future__ import with_statement
import unittest import unittest
import os import os

View File

@ -1,6 +1,5 @@
"""Unit tests for contextlib.py, and other context managers.""" """Unit tests for contextlib.py, and other context managers."""
from __future__ import with_statement
import sys import sys
import os import os

View File

@ -23,7 +23,6 @@ or Behaviour) to test each part, or without parameter to test both parts. If
you're working through IDLE, you can import this test module and call test_main() you're working through IDLE, you can import this test module and call test_main()
with the corresponding argument. with the corresponding argument.
""" """
from __future__ import with_statement
import glob import glob
import math import math

View File

@ -1,5 +1,4 @@
# Test the frozen module defined in frozen.c. # Test the frozen module defined in frozen.c.
from __future__ import with_statement
from test.test_support import captured_stdout, run_unittest from test.test_support import captured_stdout, run_unittest
import unittest import unittest

View File

@ -1,5 +1,4 @@
# tempfile.py unit tests. # tempfile.py unit tests.
from __future__ import with_statement
import tempfile import tempfile
import os import os
import sys import sys

View File

@ -2,7 +2,6 @@
"""Unit tests for the with statement specified in PEP 343.""" """Unit tests for the with statement specified in PEP 343."""
from __future__ import with_statement
__author__ = "Mike Bland" __author__ = "Mike Bland"
__email__ = "mbland at acm dot org" __email__ = "mbland at acm dot org"