travis-ci
12710 of 12943 relevant lines covered (98.2%)
1.44 hits per line
1 |
# -*- coding: utf-8 -*-
|
|
2 |
from 臺灣言語工具.解析整理.程式掠漏 import 程式掠漏 |
2 only TOX_ENV=單元試驗 and TOX_ENV=HTS整合試驗 ✔ |
3 |
|
|
4 |
|
|
5 |
class 轉物件音家私(): |
2 only TOX_ENV=單元試驗 and TOX_ENV=HTS整合試驗 ✔ |
6 |
# 逐个函式攏愛產生新的物件
|
|
7 |
|
|
8 |
@classmethod
|
2 only TOX_ENV=單元試驗 and TOX_ENV=HTS整合試驗 ✔ |
9 |
def 轉音(cls, 音標工具, 物件, 函式='預設音標'): |
2 only TOX_ENV=單元試驗 and TOX_ENV=HTS整合試驗 ✔ |
10 |
try:
|
2 only TOX_ENV=單元試驗 and TOX_ENV=HTS整合試驗 ✔ |
11 |
return 物件.轉音(音標工具=音標工具, 函式=函式)
|
2 only TOX_ENV=單元試驗 and TOX_ENV=HTS整合試驗 ✔ |
12 |
except AttributeError: |
× |
13 |
程式掠漏.毋是字詞組集句章的毋著(物件) |
× |