]> granicus.if.org Git - python/commitdiff
Remove some from __future__ import with_statements
authorBenjamin Peterson <benjamin@python.org>
Wed, 30 Apr 2008 21:25:55 +0000 (21:25 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 30 Apr 2008 21:25:55 +0000 (21:25 +0000)
Lib/calendar.py
Lib/test/test_cmd_line_script.py
Lib/test/test_contextlib.py
Lib/test/test_decimal.py
Lib/test/test_frozen.py
Lib/test/test_tempfile.py
Lib/test/test_with.py

index 61af0fd19b3e2b3bfb23fb2ee97db0f5d3442d91..ab14c7dbec279391e62897192efca31493c652f3 100644 (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
 set the first day of the week (0=Monday, 6=Sunday)."""
 
-from __future__ import with_statement
 import sys
 import datetime
 import locale as _locale
index 9d783565504e1a13966fefa405e585864582c70a..ba410ab997a46daf022adde10e71033799cddfac 100644 (file)
@@ -1,5 +1,4 @@
 # Tests command line execution of scripts
-from __future__ import with_statement
 
 import unittest
 import os
index 898bcf243993e8a0b457c76f583868f218dd86af..4d029dc39560330cad0f9859f0133c5b1e2406fb 100644 (file)
@@ -1,6 +1,5 @@
 """Unit tests for contextlib.py, and other context managers."""
 
-from __future__ import with_statement
 
 import sys
 import os
index ce6acb677d76ad7e17b0700843e4d3c538a3a80e..b0d120536f96c4b5af675807f8c3ec84f467777c 100644 (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()
 with the corresponding argument.
 """
-from __future__ import with_statement
 
 import glob
 import math
index 4835e475f859e86bcb71e57469c2ba23ac20525c..1654be0eaafed11172c6d2958a3040ada760b046 100644 (file)
@@ -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
index a44be268109c1d955662707bce607fa8e124a06a..74e55d80f5300a1504fda2b4c8a407df67dde579 100644 (file)
@@ -1,5 +1,4 @@
 # tempfile.py unit tests.
-from __future__ import with_statement
 import tempfile
 import os
 import sys
index 8242c912c526d268d6c20eee1a68bf0d6af34654..3007e5aa2c7a3e99469fe41b89d6c567667916e0 100644 (file)
@@ -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"