Unverified Commit 7f9959fe authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[tests] clarify RuntimeError in distributed tests(#4452)

parent 90342e92
...@@ -148,7 +148,7 @@ class DistributedMockup: ...@@ -148,7 +148,7 @@ class DistributedMockup:
cmd = [self.executable, f'config={config_path}'] cmd = [self.executable, f'config={config_path}']
result = subprocess.run(cmd) result = subprocess.run(cmd)
if result.returncode != 0: if result.returncode != 0:
raise RuntimeError raise RuntimeError('Error in prediction')
y_pred = np.loadtxt(str(TESTS_DIR / 'predictions.txt')) y_pred = np.loadtxt(str(TESTS_DIR / 'predictions.txt'))
return y_pred return y_pred
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment