Skip to content

Commit 928b79d

Browse files
committed
fix exception type
1 parent 1469452 commit 928b79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/repl/repl_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def run_code_in_repl(self, lines: Iterable[str], *, env=None) -> str:
3838
env=env,
3939
).strip()
4040
except subprocess.CalledProcessError as error:
41-
raise ValueError(f"Failed to run the REPL:\n{error.stdout}") from error
41+
raise RuntimeError(f"Failed to run the REPL:\n{error.stdout}") from error
4242

4343
def test_repl_version(self):
4444
"""Validates that we can successfully execute arbitrary code on the REPL."""

0 commit comments

Comments
 (0)