Skip to content

Commit

Permalink
revert temp path too long fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ak88 committed Sep 12, 2024
1 parent caed2f3 commit bb7c803
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class LoadPyspecTestsStrategy : ITestLoadStrategy

public IEnumerable<IEthereumTest> Load(string testsDir, string wildcard = null)
{
string testsDirectoryName = Path.Combine("C:/", ArchiveName.Split('.')[0]);
string testsDirectoryName = Path.Combine(AppContext.BaseDirectory, "PyTests", ArchiveVersion, ArchiveName.Split('.')[0]);
if (!Directory.Exists(testsDirectoryName)) // Prevent redownloading the fixtures if they already exists with this version and archive name
DownloadAndExtract(ArchiveVersion, ArchiveName, testsDirectoryName);
bool isStateTest = testsDir.Contains("state_tests", StringComparison.InvariantCultureIgnoreCase);
Expand Down

0 comments on commit bb7c803

Please sign in to comment.