Commit 95287fa9 authored by Benjamin Peterson's avatar Benjamin Peterson

Remove some from __future__ import with_statements

parent 655fc701
...@@ -5,7 +5,6 @@ default, these calendars have Monday as the first day of the week, and ...@@ -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
......
# 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
......
"""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
......
...@@ -23,7 +23,6 @@ or Behaviour) to test each part, or without parameter to test both parts. If ...@@ -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
......
# 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
......
# 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
......
...@@ -2,7 +2,6 @@ ...@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment