Skip to content

Commit

Permalink
CLN: remove with_statment import for python 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
y-p committed Nov 21, 2012
1 parent 2b1c191 commit 45607c0
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import with_statement

"""
DataFrame
---------
Expand Down
3 changes: 0 additions & 3 deletions pandas/io/tests/test_pytables.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import with_statement

import nose
import unittest
import os
Expand Down Expand Up @@ -723,4 +721,3 @@ def _test_sort(obj):
import nose
nose.runmodule(argv=[__file__,'-vvs','-x','--pdb', '--pdb-failure'],
exit=False)

1 change: 0 additions & 1 deletion pandas/tests/test_common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import with_statement
from datetime import datetime
import sys

Expand Down
6 changes: 2 additions & 4 deletions pandas/tests/test_graphics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import with_statement

import nose
import os
import string
Expand Down Expand Up @@ -460,9 +458,9 @@ def test_parallel_coordinates(self):
path = os.path.join(curpath(), 'data/iris.csv')
df = read_csv(path)
_check_plot_works(parallel_coordinates, df, 'Name')
_check_plot_works(parallel_coordinates, df, 'Name',
_check_plot_works(parallel_coordinates, df, 'Name',
colors=('#556270', '#4ECDC4', '#C7F464'))
_check_plot_works(parallel_coordinates, df, 'Name',
_check_plot_works(parallel_coordinates, df, 'Name',
colors=['dodgerblue', 'aquamarine', 'seagreen'])

@slow
Expand Down
1 change: 0 additions & 1 deletion pandas/tseries/tests/test_timeseries.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# pylint: disable-msg=E1101,W0612
from __future__ import with_statement # for Python 2.5
import pandas.util.compat as itertools
from datetime import datetime, time, timedelta
import sys
Expand Down
1 change: 0 additions & 1 deletion pandas/tseries/tests/test_timezones.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# pylint: disable-msg=E1101,W0612
from __future__ import with_statement # for Python 2.5
from datetime import datetime, time, timedelta, tzinfo
import sys
import os
Expand Down

0 comments on commit 45607c0

Please sign in to comment.