From 5bfa43a7810770a193cfa94eb927f751d5dc349d Mon Sep 17 00:00:00 2001 From: fxsjy Date: Wed, 11 Feb 2015 20:46:48 +0800 Subject: [PATCH] fix test scripts --- test/test_bug.py | 1 + test/test_change_dictpath.py | 1 + test/test_cut_for_search.py | 1 + test/test_tokenize.py | 1 + test/test_tokenize_no_hmm.py | 1 + 5 files changed, 5 insertions(+) diff --git a/test/test_bug.py b/test/test_bug.py index d9901dd..0c5a8e6 100644 --- a/test/test_bug.py +++ b/test/test_bug.py @@ -1,4 +1,5 @@ #encoding=utf-8 +from __future__ import print_function import sys sys.path.append("../") import jieba diff --git a/test/test_change_dictpath.py b/test/test_change_dictpath.py index a95bf99..9969272 100644 --- a/test/test_change_dictpath.py +++ b/test/test_change_dictpath.py @@ -1,4 +1,5 @@ #encoding=utf-8 +from __future__ import print_function import sys sys.path.append("../") import jieba diff --git a/test/test_cut_for_search.py b/test/test_cut_for_search.py index 1aa9357..ea86c16 100644 --- a/test/test_cut_for_search.py +++ b/test/test_cut_for_search.py @@ -1,4 +1,5 @@ #encoding=utf-8 +from __future__ import print_function import sys sys.path.append("../") import jieba diff --git a/test/test_tokenize.py b/test/test_tokenize.py index ed7e172..5e75820 100644 --- a/test/test_tokenize.py +++ b/test/test_tokenize.py @@ -1,4 +1,5 @@ #encoding=utf-8 +from __future__ import print_function,unicode_literals import sys sys.path.append("../") import jieba diff --git a/test/test_tokenize_no_hmm.py b/test/test_tokenize_no_hmm.py index 8116759..c617731 100644 --- a/test/test_tokenize_no_hmm.py +++ b/test/test_tokenize_no_hmm.py @@ -1,4 +1,5 @@ #encoding=utf-8 +from __future__ import print_function,unicode_literals import sys sys.path.append("../") import jieba