fixed tests except for one

This commit is contained in:
Gert
2018-06-01 20:19:45 -07:00
parent 6ace343d65
commit e6d3a440cd
4 changed files with 8 additions and 6 deletions

View File

@@ -33,7 +33,8 @@ def test_load_strategy_custom_directory(result):
if os.name == 'nt':
with pytest.raises(
FileNotFoundError,
match="FileNotFoundError: [WinError 3] The system cannot find the path specified: '{}'".format(extra_dir)):
match="FileNotFoundError: [WinError 3] The system cannot find the "
"path specified: '{}'".format(extra_dir)):
resolver._load_strategy('TestStrategy', extra_dir)
else:
with pytest.raises(