diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py index 45ec1fa427410..51a4183720f43 100644 --- a/pandas/tests/test_frame.py +++ b/pandas/tests/test_frame.py @@ -1,4 +1,5 @@ # pylint: disable-msg=W0612,E1101 +from __future__ import with_statement from copy import deepcopy from datetime import datetime, timedelta from StringIO import StringIO @@ -1107,6 +1108,9 @@ def test_getitem_list_duplicates(self): expected = df.ix[:, 2:] assert_frame_equal(result, expected) + def test_dupes_in_col_list (self): + DataFrame([[8,5]],columns=["a","a"]) + def test_get_value(self): for idx in self.frame.index: for col in self.frame.columns: