Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Package System.Drawing.Common.dll as its missing in dotnetcore2 #120

Merged
merged 16 commits into from
Jun 4, 2019
Prev Previous commit
Next Next commit
test
ganik committed Jun 4, 2019
commit 3c999d5d88c194a04295b92a07a0f4101e9fe5f6
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -265,7 +265,7 @@ then

PackagePath=${PythonRoot}/lib/python${PythonVersion}/site-packages/nimbusml
# TestsPath1=${PackagePath}/tests
TestsPath2=${__currentScriptDir}/src/python/tests
TestsPath2=${__currentScriptDir}/src/python/tests/test_docs_example.py
ReportPath=${__currentScriptDir}/build/TestCoverageReport
#"${PythonExe}" -m pytest --verbose --maxfail=1000 --capture=sys "${TestsPath1}" --cov="${PackagePath}" --cov-report term-missing --cov-report html:"${ReportPath}"
"${PythonExe}" -m pytest --verbose --maxfail=1000 --capture=sys "${TestsPath2}" --cov="${PackagePath}" --cov-report term-missing --cov-report html:"${ReportPath}"
9 changes: 6 additions & 3 deletions src/python/tests/test_docs_example.py
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ def test_examples(self):
for i, (fold, name) in enumerate(fold_files):
if i <= start:
continue
if name != 'Image.py':
if name not in ['Image.py', 'WordEmbedding.py']:
continue
if name in [
# Bug 294481: CharTokenizer_df fails
@@ -76,7 +76,7 @@ def test_examples(self):
]:
continue
# skip for centos7 tests
if platform.linux_distribution()[0] == "centos":
if platform.linux_distribution()[0] == 'CentOS Linux':
if name in [
# libgdiplus needs to be setup
'Image.py',
@@ -141,7 +141,10 @@ def test_examples(self):
# FastLinearClassifier_iris_df.py
"FutureWarning: elementwise comparison failed",
# PcaAnomalyDetector_df.py
"FutureWarning: Sorting because non-concatenation axis"
"FutureWarning: Sorting because non-concatenation axis",
# Image.py
"Unable to revert mtime: /Library/Fonts",
"Fontconfig error: Cannot load default config file",
]
if sys.version_info[:2] <= (3, 6):
# This warning is new but it does not break any