33 Commits

Author SHA1 Message Date
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