Skip to content

Commit 9967905

Browse files
author
stonebig
committed
Revert "missed a line in the test of Issue pandas-dev#3628"
This reverts commit 5b29c68.
1 parent 5b29c68 commit 9967905

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/io/tests/test_sql.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@ def test_onecolumn_of_integer(self):
226226
mono_df=DataFrame([1 , 2], columns=['c0'])
227227
sql.write_frame(mono_df, con = self.db, name = 'mono_df')
228228
# computing the sum via sql
229-
con_x=self.db
230-
the_sum=sum([my_c0[0] for my_c0 in con_x.execute("select * from mono_df")])
229+
the_sum=sum([my_c0[0] for my_c0 in con.execute("select * from mono_df")])
231230
# it should not fail, and gives 3 ( Issue #3628 )
232231
self.assertEqual(the_sum , 3)
233232

0 commit comments

Comments
 (0)