mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
docs
This commit is contained in:
1 parent
5d68313f91
commit
0a6e1e80d7
3 files changed
+4
-5
No files matched your search
Vendored
+1
-2
@@ -1933,8 +1933,7 @@ def _check_tracemalloc():
|
||||
"if tracemalloc module is tracing "
|
||||
"memory allocations")
|
||||
|
||||
|
||||
# TODO: RUSTPYTHON (comment out before)
|
||||
# TODO: RUSTPYTHON; GC is not supported yet
|
||||
# def check_free_after_iterating(test, iter, cls, args=()):
|
||||
# class A(cls):
|
||||
# def __del__(self):
|
||||
|
||||
Vendored
+1
-1
@@ -176,7 +176,7 @@ class ArrayReconstructorTest(unittest.TestCase):
|
||||
self.assertEqual(a, b,
|
||||
msg="{0!r} != {1!r}; testcase={2!r}".format(a, b, testcase))
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
# TODO: RUSTPYTHON - requires UTF-32 encoding support in codecs and proper array reconstructor implementation
|
||||
@unittest.expectedFailure
|
||||
def test_unicode(self):
|
||||
teststr = "Bonne Journ\xe9e \U0002030a\U00020347"
|
||||
|
||||
Vendored
+2
-2
@@ -83,7 +83,7 @@ class ExceptionClassTests(unittest.TestCase):
|
||||
exc_set = set(e for e in exc_set if not e.startswith('_'))
|
||||
# RUSTPYTHON specific
|
||||
exc_set.discard("JitError")
|
||||
# TODO: RUSTPYTHON; this will be officially introduced in Python 3.15
|
||||
# XXX: RUSTPYTHON; IncompleteInputError will be officially introduced in Python 3.15
|
||||
exc_set.discard("IncompleteInputError")
|
||||
self.assertEqual(len(exc_set), 0, "%s not accounted for" % exc_set)
|
||||
|
||||
@@ -121,7 +121,7 @@ class ExceptionClassTests(unittest.TestCase):
|
||||
[repr(exc), exc.__class__.__name__ + '()'])
|
||||
self.interface_test_driver(results)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
# TODO: RUSTPYTHON - BaseException.__setstate__ method not implemented
|
||||
@unittest.expectedFailure
|
||||
def test_setstate_refcount_no_crash(self):
|
||||
# gh-97591: Acquire strong reference before calling tp_hash slot
|
||||
|
||||
Reference in new issue
Block a user