def test_libc_ver(self):
if support.is_emscripten:
- assert platform.libc_ver() == ("emscripten", "4.0.12")
+ assert platform.libc_ver() == ("emscripten", "4.0.19")
return
# check that libc_ver(executable) doesn't raise an exception
if os.path.isdir(sys.executable) and \
# Any data that can vary between Python versions is to be kept in this file.
# This allows for blanket copying of the Emscripten build code between supported
# Python versions.
-emscripten-version = "4.0.12"
+emscripten-version = "4.0.19"
node-version = "24"
test-args = [
"-m", "test",
const TTY_OPS = {
ioctl_tiocgwinsz(tty) {
- return tty.devops.ioctl_tiocgwinsz?.();
+ return tty.devops.ioctl_tiocgwinsz?.() ?? [24, 80];
},
};
fsync() {
nodeFsync(this.nodeStream.fd);
}
+
+ ioctl_tiocgwinsz() {
+ return [this.nodeStream.rows ?? 24, this.nodeStream.columns ?? 80];
+ }
}
class NodeWriter {