Skip to content

Commit eb13ccb

Browse files
committed
Skip results cache test on windows #3941 #4556
* The runner cannot instantiate a cryptography library of some kind Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent 1247f39 commit eb13ccb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/scancode/test_cli.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,15 +1054,14 @@ def test_scan_does_validate_input_and_does_not_fail_on_valid_json_input():
10541054
run_scan_click(['--from-json', test_file, '--json-pp', '-'], retry=False)
10551055

10561056

1057+
@skipIf(on_windows, 'Test does not work on CI runners')
10571058
def test_use_cached_results():
10581059
results_cache_location = test_env.get_test_loc(u'results_cache/results/')
10591060
test_file = test_env.get_test_loc(u'results_cache/package.json')
10601061
result_file = test_env.get_temp_file('json')
10611062
env = {
10621063
'SCANCODE_RESULTS_CACHE': results_cache_location
10631064
}
1064-
if on_windows:
1065-
env.update({'PYTHONHASHSEED': '0'})
10661065
args = [
10671066
'--info',
10681067
'--license',

0 commit comments

Comments
 (0)