Skip to content

Commit 5b29c68

Browse files
committed
missed a line in the test of Issue pandas-dev#3628
1 parent 03c1327 commit 5b29c68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/tests/test_sql.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ 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-
the_sum=sum([my_c0[0] for my_c0 in con.execute("select * from mono_df")])
229+
con_x=self.db
230+
the_sum=sum([my_c0[0] for my_c0 in con_x.execute("select * from mono_df")])
230231
# it should not fail, and gives 3 ( Issue #3628 )
231232
self.assertEqual(the_sum , 3)
232233

0 commit comments

Comments
 (0)