Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

試驗 sys:1: ResourceWarning: unclosed file #627

Open
sih4sing5hong5 opened this issue Feb 22, 2019 · 1 comment
Open

試驗 sys:1: ResourceWarning: unclosed file #627

sih4sing5hong5 opened this issue Feb 22, 2019 · 1 comment

Comments

@sih4sing5hong5
Copy link
Collaborator

sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>

python -m unittest discover -p '*單元試驗.py'

可能是因為

試驗.語音辨識.Test聲音檔單元試驗.聲音檔單元試驗.test_讀WAVE_FORMAT_EXTENSIBLE檔
@sih4sing5hong5
Copy link
Collaborator Author

嘛有可能是

grep os.devnull -r 

臺灣言語工具/語音合成/決策樹仔問題/閩南語決策樹仔.py:    def 生(cls, 輸出目的=open(os.devnull, 'w')):
臺灣言語工具/語音合成/決策樹仔問題/官話決策樹仔.py:    def 生(cls, 輸出目的=open(os.devnull, 'w')):
臺灣言語工具/語音合成/決策樹仔問題/南島語決策樹仔.py:    def 生(self, 輸出目的=open(os.devnull, 'w')):
臺灣言語工具/語音合成/決策樹仔問題/客家話決策樹仔.py:    def 生(cls, 輸出目的=open(os.devnull, 'w')):
臺灣言語工具/語音合成/決策樹仔問題/賽夏決策樹仔.py:    def 生(cls, 輸出目的=open(os.devnull, 'w')):
臺灣言語工具/語音合成/決策樹仔問題/秀姑巒阿美語決策樹仔.py:    def 生(cls, 輸出目的=open(os.devnull, 'w')):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant