Shahar Naveh
d50cc5e842
Update pydoc.py from 3.14.3 ( #7104 )
2026-02-13 18:07:25 +09:00
Jeong, YunWon
019e754055
Fix __set_name__ error handling to match Python 3.12+ ( #6937 )
...
Changed type.rs to add notes to original exceptions instead of
wrapping them in RuntimeError, following PEP 678 (gh-77757).
This allows enum.py's exception handling to work correctly when
super().__new__() is misused in Enum subclasses, enabling the
proper TypeError to propagate instead of being hidden behind
a RuntimeError wrapper.
Fixes test_bad_new_super test case.
2026-02-02 08:11:26 +09:00
Jeong, YunWon
0b9c90fcc4
Update enum from v3.14.2 ( #6932 )
...
---------
Co-authored-by: CPython Developers <>
2026-02-01 19:14:55 +09:00
Jeong, YunWon
25bf682006
Fix number __format__ ( #6930 )
2026-02-01 17:17:09 +09:00
Jeong, YunWon
e01f26c1f6
Update inspect from v3.14.2 ( #6815 )
...
* Update inspect from v3.14.2
* temp asyncio.event._set_event_loop_policy
* mark inspect tests
---------
Co-authored-by: CPython Developers <>
2026-01-20 21:34:34 +09:00
Jeong, YunWon
02cc257b42
Support pickle better with __getnewargs_ex__ ( #6749 )
...
* Implement pickle more
* add weakref check
* check exports in __setstate__
* remove reducelib
2026-01-17 18:37:16 +09:00
Terry Tianlin Luan
609dbb1439
Downgraded skips in tests ( #6716 )
...
* Downgraded skips in tests
* Fixed failing tests
* Fixed test_ftplib + test_socket + test_ssl + test_threaded_import failures
* Removed comments about which tests are run in which environment
* Addressed PR comments
* Annotated skips on failing tests
* Removed unneeded tests
* Removed unneeded sys import from test_ftplib
* Added annotation to test_ftplib
* Readded skipIf to test_cleanup_with_symlink_modes with a more general ENV_POLLUTING_TESTS_WINDOWS
* Addressed PR comments
* Made changes to minimize diff in PR
* Apply suggestion from @youknowone
---------
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com >
2026-01-15 21:43:22 +09:00
Copilot
03380dc4ec
Ensure __new__ entries in class __dict__ are staticmethods ( #6659 )
...
* Initial plan
* Wrap __new__ methods as staticmethods in type dicts
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com >
* Unmark passing enum test
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com >
2026-01-06 12:16:51 +09:00
Terry Tianlin Luan
52dd8292c4
Updated enum + file_cmp library + tests - v3.13.10 ( #6606 )
...
* Updated enum library
* Updated filecmp + file_cmp test
* Removed unneeded @unittest.expectedFailures
* Updated unexpected success in enum test
* Fixed unexpected success in test_filecmp
2026-01-03 08:27:18 +09:00
Jeong, YunWon
9bbfdf5067
mark expectedFailure
2025-12-12 21:44:00 +09:00
Ashwin Naren
a46ce8ec3a
Mark version 3.13.0 ( #5495 )
...
* bump to 3.13.1
* fix some tests
* strip left whitespace from doc
* remove specific difflib test that was causing issues
* fix test_enum
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
2025-02-13 14:11:01 +09:00
Jeong, YunWon
af884cb284
First step for Python 3.12 support ( #5078 )
...
* Mark 3.12
* Update importlib from Python 3.12.0
* Update test_importlib from Python3.12
* Mark failings tests from importlib
* Update test.support from Python3.12
* Fix unsupported parser feature
* mark failing test
* Update functools from Python 3.12
* manual type annotation
* slice behavior changed in 3.12
* empty unittest.main returns non-zero
* test_decimal from CPython 3.12
* Mark failing tests
* Update test_unicode from CPython 3.12
* Update test_functools from Python 3.12
* Update enum from Python 3.12
* enum
* Doc format changed
* Update test_module from CPython
---------
Co-authored-by: CPython developers <>
2023-10-22 19:19:05 -07:00
Jeong, YunWon
2fa88f94b6
Skip flaky test_enum::test_unique_composite ( #5084 )
2023-10-06 14:34:50 +09:00
dvermd
0d0139b322
Update enum to CPython 3.11.5 ( #5074 )
...
part of: #4564
2023-10-03 22:32:38 +09:00
Jeong YunWon
73e1eeb57e
skip test_enum.test_unique_composite
2023-04-23 21:50:16 +09:00
Andrey Maltsev
514014f4fc
add compare digest
2023-04-23 21:50:15 +09:00
Christopher Gambrell
d918f7e51b
'n' support for float format ( #4865 )
2023-04-16 00:06:20 +09:00
Jeong YunWon
2287720201
Mark flaky test_enum::TestFlag::test_unique_composite skip
2023-03-10 02:46:14 +09:00
joohongpark
8960e78a6c
remove expeted failure
2022-10-16 14:46:23 +09:00
Gyubong Lee
3cdda75004
Remove @unittest.expectedFailures
2022-07-16 13:42:53 +09:00
zer0who
1c473b6536
Deleted todo, expectedFailure
2022-07-14 20:56:51 +09:00
Jeong Yunwon
b9c1f31d46
Fix getattr to use __getattribute__ correctly
2022-05-27 15:22:01 +09:00
Daniel Watkins
9712a322f9
Lib/test: remove expectedFailure decorator from now-fixed tests
...
Evidently the changes to how we handle `__name__` and `__qualname__`
have fixed the errors we were seeing in test_enum and test_typing.
2022-04-16 00:38:12 +09:00
Jeong YunWon
8484a91ed3
Fix reflection operator priority for subtypes
2022-04-14 02:38:54 +09:00
Padraic Fanning
c8748bc98e
Fix test.support imports
2022-02-13 17:56:08 -05:00
Jeong Yunwon
63c5830d90
skip unstable test
2021-10-15 02:38:13 +09:00
Padraic Fanning
063bf20307
Clean up skips in test_enum
2021-10-15 00:09:49 +09:00
Jim Fasarakis-Hilliard
e34198fc00
Remove HEAPTYPE flag from builtins.
2021-09-17 03:30:21 +09:00
Jeong YunWon
a4c65049bf
Fix int/float enum pickle ( #2945 )
...
Add {int,float}.__getnewargs__
2021-08-24 06:33:55 +03:00
Moreal
0548fa1444
Unmark unittest.expectedFailure from fixed tests
2021-08-23 22:01:35 +09:00
Moreal
4a00c902d8
Mark unittest.expectedFailure for test containing appeared bug
...
At 'enum.py' 223 line, there is the code to check `member_type` contains
some methods. But it was fixed to find attribute from base types, in
https://github.com/RustPython/RustPython/pull/2932 . So it seems
appeared.
```
if not any(m in member_type.__dict__ for m in methods):
```
2021-08-23 08:54:12 +09:00
Moreal
597771d16e
Unmark fixed tests
2021-08-14 15:25:39 +09:00
Noah
ae4912025b
Fix builtinfunc pickling
2021-05-15 19:33:07 -05:00
Noah
511b2c8809
Always skip test_enum test_unique_composite
2021-02-21 11:00:05 -06:00
Padraic Fanning
4d7a8b945f
Fix other test_enum unexpected success on Windows
2021-02-20 20:48:52 -05:00
Padraic Fanning
300778b5aa
Skip the CORRECT test
2021-02-19 17:18:45 -05:00
Padraic Fanning
257783de9f
Re-add expected failure and correct sys.platform
2021-02-19 17:07:59 -05:00
Padraic Fanning
2521e37bfd
Add universal newlines skip for Windows
2021-02-19 17:03:26 -05:00
Padraic Fanning
aff873acf7
Mark expected failure on non-Windows
2021-02-19 15:41:09 -05:00
Padraic Fanning
38ca33430d
Unmark unexpected success
2021-02-18 23:43:06 -05:00
Padraic Fanning
2c5d1687ce
Mark failing test
2021-02-18 23:11:19 -05:00
Padraic Fanning
a59e5c4292
Mark failing/erroring tests
2021-02-18 23:11:19 -05:00
Padraic Fanning
c4e823ff05
Add test_enum from CPython 3.8.7
2021-02-18 23:11:19 -05:00