-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add back wordaround for
Slot objects should not occur in an AST
in …
…Ipython mode (#47878)
- Loading branch information
1 parent
c8a0521
commit 7b10d5f
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1641,6 +1641,10 @@ fake_repl() do stdin_write, stdout_read, repl | |
s = sendrepl2("REPL\n", "In [10]") | ||
@test contains(s, "Out[9]: REPL") | ||
|
||
# Test for https://github.com/JuliaLang/julia/issues/46451 | ||
s = sendrepl2("x_47878 = range(-1; stop = 1)\n", "-1:1") | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
KristofferC
Author
Member
|
||
@test contains(s, "Out[11]: -1:1") | ||
|
||
write(stdin_write, '\x04') | ||
Base.wait(repltask) | ||
end |
Won't this fail to make the test meaningful, since you are specifically testing what happens if exactly
x
gets assigned a value here?