Skip to content

Commit fb3073a

Browse files
committed
.....
1 parent 7752b76 commit fb3073a

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,7 @@ jobs:
258258
|| false
259259
}}
260260
steps:
261-
- name: Retrieve the project source from an sdist inside the GHA artifact
262-
if: matrix.check_formatting != '1'
263-
uses: re-actors/checkout-python-sdist@release/v2
264-
with:
265-
source-tarball-name: ${{ needs.build.outputs.sdist-artifact-name }}
266-
workflow-artifact-name: ${{ env.dists-artifact-name }}
267261
- name: Grab the source from Git
268-
if: matrix.check_formatting == '1'
269262
uses: actions/checkout@v4
270263
with:
271264
persist-credentials: false

ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ perl -i -pe 's/-p trio\._tests\.pytest_plugin//' "$INSTALLDIR/pyproject.toml"
125125

126126
echo "::endgroup::"
127127
echo "::group:: Run Tests"
128+
sysctl dev.tty.legacy_tiocsti
128129
python ../test.py
129130

130131
if PYTHONPATH=../tests COVERAGE_PROCESS_START=$(pwd)/../pyproject.toml \

src/trio/_repl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def terminal_newline() -> None:
3030
# on a best-effort basis
3131
try:
3232
fcntl.ioctl(sys.stdin, termios.TIOCSTI, b"\n") # type: ignore[attr-defined, unused-ignore]
33-
except OSError:
34-
print("OS ERROR: repr(e))")
33+
except OSError as e:
34+
print(f"OS ERROR: {e!r}")
3535

3636

3737
@final

0 commit comments

Comments
 (0)