Skip to content

Commit 1ead3ed

Browse files
committed
test unicode data is stored correctly
1 parent a72616d commit 1ead3ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas_gbq/tests/test_gbq.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1171,6 +1171,7 @@ def test_upload_chinese_unicode_data(self):
11711171
project_id=_get_project_id())
11721172

11731173
assert result['num_rows'][0] == test_size
1174+
tm.assert_series_equal(result['A'], df['A'])
11741175

11751176
def test_upload_other_unicode_data(self):
11761177
test_id = "3"
@@ -1191,7 +1192,8 @@ def test_upload_other_unicode_data(self):
11911192
self.destination_table + test_id),
11921193
project_id=_get_project_id())
11931194

1194-
assert result['num_rows'][0] == test_si
1195+
assert result['num_rows'][0] == test_size
1196+
tm.assert_series_equal(result['string'], df['string'])
11951197

11961198
def test_generate_schema(self):
11971199
df = tm.makeMixedDataFrame()

0 commit comments

Comments
 (0)