From 273996f7d41f89ddcf29b64dababfaf4fc59b580 Mon Sep 17 00:00:00 2001 From: Sun Junyi Date: Sat, 27 Apr 2013 16:18:40 +0800 Subject: [PATCH] fix a test script in jieba3k --- test/test_change_dictpath.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_change_dictpath.py b/test/test_change_dictpath.py index 91741e6..bd7f070 100644 --- a/test/test_change_dictpath.py +++ b/test/test_change_dictpath.py @@ -5,7 +5,7 @@ import jieba def cuttest(test_sent): result = jieba.cut(test_sent) - print " ".join(result) + print(" ".join(result) ) def testcase(): cuttest("这是一个伸手不见五指的黑夜。我叫孙悟空,我爱北京,我爱Python和C++。") @@ -22,6 +22,6 @@ def testcase(): if __name__ == "__main__": testcase() jieba.set_dictionary("foobar.txt") - print "================================" + print("================================") testcase()