mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
Update test_unicodedata.py to 3.14.4 (#7750)
* Update `test_unicodedata.py` to 3.14.4 * Add test asset * Mark failing tests * Add `expectedSuccess` docorator * Add support for nee decorator in patch_spec * Reapply patches
This commit is contained in:
1 parent
c0005f744b
commit
b1df45bd09
4 files changed
+17551
-90
No files matched your search
@@ -32,7 +32,7 @@ class UtMethod(enum.StrEnum):
|
||||
return name[0].lower() + name[1:]
|
||||
|
||||
def has_args(self) -> bool:
|
||||
return self != self.ExpectedFailure
|
||||
return self not in (self.ExpectedFailure, self.ExpectedSuccess)
|
||||
|
||||
def has_cond(self) -> bool:
|
||||
return self.endswith(("If", "Unless"))
|
||||
@@ -40,6 +40,7 @@ class UtMethod(enum.StrEnum):
|
||||
ExpectedFailure = enum.auto()
|
||||
ExpectedFailureIf = enum.auto()
|
||||
ExpectedFailureIfWindows = enum.auto()
|
||||
ExpectedSuccess = enum.auto()
|
||||
Skip = enum.auto()
|
||||
SkipIf = enum.auto()
|
||||
SkipUnless = enum.auto()
|
||||
|
||||
Reference in new issue
Block a user