mirror of https://github.com/python/cpython
Remove some from __future__ import with_statements
This commit is contained in:
parent
655fc7012a
commit
95287fa951
|
@ -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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# Tests command line execution of scripts
|
||||
from __future__ import with_statement
|
||||
|
||||
import unittest
|
||||
import os
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
"""Unit tests for contextlib.py, and other context managers."""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# tempfile.py unit tests.
|
||||
from __future__ import with_statement
|
||||
import tempfile
|
||||
import os
|
||||
import sys
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue