Trim trailing whitespace and test on CI (#104275)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Hugo van Kemenade 2023-05-08 17:03:52 +03:00 committed by GitHub
parent 1f5679540c
commit d513ddee94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 44 additions and 12 deletions

View file

@ -85,7 +85,7 @@ termios_tcgetattr_impl(PyObject *module, int fd)
int r;
Py_BEGIN_ALLOW_THREADS
r = tcgetattr(fd, &mode);
r = tcgetattr(fd, &mode);
Py_END_ALLOW_THREADS
if (r == -1) {
return PyErr_SetFromErrno(state->TermiosError);
@ -372,7 +372,7 @@ termios_tcgetwinsize_impl(PyObject *module, int fd)
#if defined(TIOCGWINSZ)
termiosmodulestate *state = PyModule_GetState(module);
struct winsize w;
int r;
int r;
Py_BEGIN_ALLOW_THREADS
r = ioctl(fd, TIOCGWINSZ, &w);