diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-04-30 21:25:55 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-04-30 21:25:55 (GMT) |
commit | 95287fa951ff5b8f1c38e7a9f5e9134acd59a397 (patch) | |
tree | dbe238da791478a70a97317f43c57d2297a41d6c /Lib | |
parent | 655fc7012abdf50e7f827762fb08760fe54b0094 (diff) | |
download | cpython-95287fa951ff5b8f1c38e7a9f5e9134acd59a397.zip cpython-95287fa951ff5b8f1c38e7a9f5e9134acd59a397.tar.gz cpython-95287fa951ff5b8f1c38e7a9f5e9134acd59a397.tar.bz2 |
Remove some from __future__ import with_statements
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/calendar.py | 1 | ||||
-rw-r--r-- | Lib/test/test_cmd_line_script.py | 1 | ||||
-rw-r--r-- | Lib/test/test_contextlib.py | 1 | ||||
-rw-r--r-- | Lib/test/test_decimal.py | 1 | ||||
-rw-r--r-- | Lib/test/test_frozen.py | 1 | ||||
-rw-r--r-- | Lib/test/test_tempfile.py | 1 | ||||
-rw-r--r-- | Lib/test/test_with.py | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py index 61af0fd..ab14c7d 100644 --- a/Lib/calendar.py +++ b/Lib/calendar.py @@ -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 set the first day of the week (0=Monday, 6=Sunday).""" -from __future__ import with_statement import sys import datetime import locale as _locale diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index 9d78356..ba410ab 100644 --- a/Lib/test/test_cmd_line_script.py +++ b/Lib/test/test_cmd_line_script.py @@ -1,5 +1,4 @@ # Tests command line execution of scripts -from __future__ import with_statement import unittest import os diff --git a/Lib/test/test_contextlib.py b/Lib/test/test_contextlib.py index 898bcf2..4d029dc 100644 --- a/Lib/test/test_contextlib.py +++ b/Lib/test/test_contextlib.py @@ -1,6 +1,5 @@ """Unit tests for contextlib.py, and other context managers.""" -from __future__ import with_statement import sys import os diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index ce6acb6..b0d1205 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -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() with the corresponding argument. """ -from __future__ import with_statement import glob import math diff --git a/Lib/test/test_frozen.py b/Lib/test/test_frozen.py index 4835e47..1654be0 100644 --- a/Lib/test/test_frozen.py +++ b/Lib/test/test_frozen.py @@ -1,5 +1,4 @@ # Test the frozen module defined in frozen.c. -from __future__ import with_statement from test.test_support import captured_stdout, run_unittest import unittest diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index a44be26..74e55d8 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -1,5 +1,4 @@ # tempfile.py unit tests. -from __future__ import with_statement import tempfile import os import sys diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py index 8242c91..3007e5a 100644 --- a/Lib/test/test_with.py +++ b/Lib/test/test_with.py @@ -2,7 +2,6 @@ """Unit tests for the with statement specified in PEP 343.""" -from __future__ import with_statement __author__ = "Mike Bland" __email__ = "mbland at acm dot org" |