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

Commit 207a6b6

Browse files
Stephen0620ganik
authored andcommitted
Skip Image.py and Image_df.py tests for Ubuntu 14 (#149)
1 parent 3c689c6 commit 207a6b6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/python/tests_extended/test_docs_example.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ def test_examples(self):
7070
'NaiveBayesClassifier_df.py'
7171
]:
7272
continue
73+
# skip for ubuntu 14 tests
74+
if platform.linux_distribution()[0] == 'Ubuntu' and platform.linux_distribution()[1][:2] == '14':
75+
if name in [
76+
# libdl needs to be setup
77+
'Image.py',
78+
'Image_df.py'
79+
]:
80+
continue
7381
# skip for centos7 tests
7482
if platform.linux_distribution()[0] == 'CentOS Linux':
7583
if name in [

0 commit comments

Comments
 (0)