Commit 4d9fa67
committed
fix: test_io and test_memoryio
- Add bytearray.resize() method for CPython 3.14 compatibility
- Fix UnsupportedOperation.__module__ to be "io" instead of "_io"
- Add BytesIO initial_bytes keyword argument support
- Fix BytesIO.seek() to clamp negative positions to 0
- Add BufferError checks to BytesIO.close() and getbuffer()
- Mark test_read_non_blocking as expectedFailure1 parent 8c10058 commit 4d9fa67
File tree
3 files changed
+52
-8
lines changed- Lib/test
- crates/vm/src
- builtins
- stdlib
3 files changed
+52
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4072 | 4072 | | |
4073 | 4073 | | |
4074 | 4074 | | |
| 4075 | + | |
4075 | 4076 | | |
4076 | 4077 | | |
4077 | 4078 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
541 | 550 | | |
542 | 551 | | |
543 | 552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4393 | 4393 | | |
4394 | 4394 | | |
4395 | 4395 | | |
| 4396 | + | |
| 4397 | + | |
| 4398 | + | |
| 4399 | + | |
| 4400 | + | |
| 4401 | + | |
4396 | 4402 | | |
4397 | 4403 | | |
4398 | 4404 | | |
| |||
4417 | 4423 | | |
4418 | 4424 | | |
4419 | 4425 | | |
4420 | | - | |
| 4426 | + | |
4421 | 4427 | | |
4422 | | - | |
| 4428 | + | |
4423 | 4429 | | |
4424 | 4430 | | |
4425 | 4431 | | |
4426 | 4432 | | |
4427 | 4433 | | |
4428 | | - | |
| 4434 | + | |
| 4435 | + | |
4429 | 4436 | | |
4430 | 4437 | | |
4431 | 4438 | | |
| |||
4503 | 4510 | | |
4504 | 4511 | | |
4505 | 4512 | | |
4506 | | - | |
4507 | | - | |
4508 | | - | |
| 4513 | + | |
| 4514 | + | |
| 4515 | + | |
| 4516 | + | |
| 4517 | + | |
| 4518 | + | |
| 4519 | + | |
| 4520 | + | |
| 4521 | + | |
| 4522 | + | |
| 4523 | + | |
| 4524 | + | |
| 4525 | + | |
4509 | 4526 | | |
4510 | 4527 | | |
4511 | 4528 | | |
| |||
4534 | 4551 | | |
4535 | 4552 | | |
4536 | 4553 | | |
4537 | | - | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
| 4557 | + | |
| 4558 | + | |
| 4559 | + | |
4538 | 4560 | | |
| 4561 | + | |
4539 | 4562 | | |
4540 | 4563 | | |
4541 | 4564 | | |
| |||
4602 | 4625 | | |
4603 | 4626 | | |
4604 | 4627 | | |
| 4628 | + | |
| 4629 | + | |
| 4630 | + | |
4605 | 4631 | | |
4606 | 4632 | | |
4607 | 4633 | | |
| |||
4932 | 4958 | | |
4933 | 4959 | | |
4934 | 4960 | | |
| 4961 | + | |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
| 4965 | + | |
| 4966 | + | |
| 4967 | + | |
| 4968 | + | |
4935 | 4969 | | |
4936 | 4970 | | |
4937 | 4971 | | |
4938 | 4972 | | |
4939 | 4973 | | |
4940 | 4974 | | |
4941 | | - | |
| 4975 | + | |
4942 | 4976 | | |
4943 | 4977 | | |
4944 | 4978 | | |
| |||
0 commit comments