Skip to content

Commit 22b5770

Browse files
committed
Trying another fix for Azure package builds
1 parent 9186338 commit 22b5770

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_input.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from glob import glob
1616
from itertools import product
17-
from os.path import abspath, dirname, exists, join, normpath
17+
from os.path import abspath, dirname, exists, join, normcase, normpath
1818
from shutil import rmtree
1919

2020
import numpy as np
@@ -1141,7 +1141,8 @@ def test_config_parsing_relative_input_path():
11411141
class_map, custom_learner_path, learning_curve_cv_folds_list,
11421142
learning_curve_train_sizes, output_metrics) = _parse_config_file(config_path)
11431143

1144-
eq_(normpath(train_path), normpath(join(_my_dir, 'train')))
1144+
# we need to use normcase here for Azure package builds to pass
1145+
eq_(normcase(normpath(train_path)), normcase(join(_my_dir, 'train')))
11451146

11461147

11471148
def test_config_parsing_relative_input_paths():

0 commit comments

Comments
 (0)