Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Commit b3ae000

Browse files
gguussJon Wayne Parrott
authored andcommitted
Unicode for translation
1 parent 7f12106 commit b3ae000

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

translate/cloud-client/snippets.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"""
2525

2626
import argparse
27-
import os
28-
import sys
27+
2928

3029
from google.cloud import translate
3130

translate/cloud-client/snippets_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def test_translate_text(capsys):
4141
out, _ = capsys.readouterr()
4242
assert u'Halló heimur' in out
4343

44+
4445
def test_translate_utf8(capsys):
4546
text = '나는 파인애플을 좋아한다.'
4647
snippets.translate_text('en', text)

0 commit comments

Comments
 (0)