mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(curriculum): remove angular brackets from python console (#54698)
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ test.describe('Python Terminal', () => {
|
||||
const preview = page.getByTestId('preview-pane');
|
||||
|
||||
// While it's displayed on multiple lines, the string itself has no newlines, hence:
|
||||
const error = `>>> Traceback (most recent call last): File "main.py", line 1 def ^SyntaxError: invalid syntax`;
|
||||
const error = `Traceback (most recent call last): File "main.py", line 1 def ^SyntaxError: invalid syntax`;
|
||||
// It shouldn't take this long, but the Python worker can be slow to respond.
|
||||
await expect(preview).toContainText(error, { timeout: 15000 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user