GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Addressed PR comments · RustPython/RustPython@8ee84ea

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Lib/test
    • test_ast
      • test_ast.py
    • test_bdb.py
    • test_class.py
    • test_cmd_line_script.py
    • test_configparser.py
    • test_descr.py
    • test_docxmlrpc.py
    • test_ftplib.py
    • test_importlib
      • test_locks.py
    • test_json
      • test_recursion.py
    • test_list.py
    • test_marshal.py
    • test_poll.py
    • test_set.py
    • test_socket.py
    • test_sqlite3
      • test_regression.py
    • test_ssl.py
    • test_subprocess.py
    • test_tempfile.py
    • test_weakref.py
    • test_zipfile
      • test_core.py
    • test_zipimport.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Lib/test/test_ast/test_ast.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_ast/test_ast.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ def test_yield(self):
21832183
self.expr(ast.Yield(ast.Name("x", ast.Store())), "must have Load")
21842184
self.expr(ast.YieldFrom(ast.Name("x", ast.Store())), "must have Load")
21852185

2186-
@unittest.skip('TODO: RUSTPYTHON; thread "main" panicked')
2186+
@unittest.skip("TODO: RUSTPYTHON; thread 'main' panicked")
21872187
def test_compare(self):
21882188
left = ast.Name("x", ast.Load())
21892189
comp = ast.Compare(left, [ast.In()], [])
@@ -2396,7 +2396,7 @@ def test_stdlib_validates(self):
23962396
ast.MatchMapping([], [], rest="_"),
23972397
]
23982398

2399-
@unittest.expectedFailure # TODO: RUSTPYTHON; thread 'main' panicked
2399+
@unittest.expectedFailure # TODO: RUSTPYTHON
24002400
def test_match_validation_pattern(self):
24012401
name_x = ast.Name("x", ast.Load())
24022402
for pattern in self._MATCH_PATTERNS:
Collapse file

‎Lib/test/test_bdb.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_bdb.py
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,7 @@ def test_step_next_on_last_statement(self):
616616
with TracerRun(self) as tracer:
617617
tracer.runcall(tfunc_main)
618618

619-
# AssertionError: All paired tuples have not been processed, the last one was number 1 [('next',), ('quit',)]
620-
@unittest.expectedFailure # TODO: RUSTPYTHON
619+
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: All paired tuples have not been processed, the last one was number 1 [('next',), ('quit',)]
621620
def test_stepinstr(self):
622621
self.expect_set = [
623622
('line', 2, 'tfunc_main'), ('stepinstr', ),
@@ -1249,8 +1248,7 @@ def main():
12491248
with TracerRun(self) as tracer:
12501249
tracer.runcall(tfunc_import)
12511250

1252-
# AssertionError: All paired tuples have not been processed, the last one was number 1 [('next',)]
1253-
@unittest.expectedFailure # TODO: RUSTPYTHON
1251+
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: All paired tuples have not been processed, the last one was number 1 [('next',)]
12541252
def test_next_to_botframe(self):
12551253
# gh-125422
12561254
# Check that next command won't go to the bottom frame.
Collapse file

‎Lib/test/test_class.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_class.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ class Custom:
554554
self.assertFalse(hasattr(o, "__call__"))
555555
self.assertFalse(hasattr(c, "__call__"))
556556

557-
@unittest.skip('TODO: RUSTPYTHON; segmentation fault')
557+
@unittest.skip("TODO: RUSTPYTHON, segmentation fault")
558558
def testSFBug532646(self):
559559
# Test for SF bug 532646
560560

Collapse file

‎Lib/test/test_cmd_line_script.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_cmd_line_script.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,19 +209,19 @@ def check_repl_stderr_flush(self, separate_stderr=False):
209209
self.assertIn(b'File "<stdin>"', stderr.readline())
210210
self.assertIn(b'ZeroDivisionError', stderr.readline())
211211

212-
@unittest.skip('TODO: RUSTPYTHON; hanging')
212+
@unittest.skip("TODO: RUSTPYTHON, test hang in middle")
213213
def test_repl_stdout_flush(self):
214214
self.check_repl_stdout_flush()
215215

216-
@unittest.skip('TODO: RUSTPYTHON; hanging')
216+
@unittest.skip("TODO: RUSTPYTHON, test hang in middle")
217217
def test_repl_stdout_flush_separate_stderr(self):
218218
self.check_repl_stdout_flush(True)
219219

220-
@unittest.skip('TODO: RUSTPYTHON; hanging')
220+
@unittest.skip("TODO: RUSTPYTHON, test hang in middle")
221221
def test_repl_stderr_flush(self):
222222
self.check_repl_stderr_flush()
223223

224-
@unittest.skip('TODO: RUSTPYTHON; hanging')
224+
@unittest.skip("TODO: RUSTPYTHON, test hang in middle")
225225
def test_repl_stderr_flush_separate_stderr(self):
226226
self.check_repl_stderr_flush(True)
227227

Collapse file

‎Lib/test/test_configparser.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_configparser.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,7 @@ def test_read_returns_file_list(self):
762762
parsed_files = cf.read([], encoding="utf-8")
763763
self.assertEqual(parsed_files, [])
764764

765+
# XXX: RUSTPYTHON; This test might cause CI hang
765766
def test_read_returns_file_list_with_bytestring_path(self):
766767
if self.delimiters[0] != '=':
767768
self.skipTest('incompatible format')
Collapse file

‎Lib/test/test_descr.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_descr.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,7 @@ def __init__(self, foo):
18341834
object.__init__(A(3))
18351835
self.assertRaises(TypeError, object.__init__, A(3), 5)
18361836

1837-
# TODO: RUSTPYTHON; The `expectedFailure` here is from CPython, so this test actually fails
1837+
# TODO: RUSTPYTHON; The `expectedFailure` here is from CPython, so this test must fail
18381838
# @unittest.expectedFailure
18391839
def test_restored_object_new(self):
18401840
class A(object):
@@ -5193,7 +5193,7 @@ def __pow__(self, *args):
51935193

51945194

51955195
class MiscTests(unittest.TestCase):
5196-
@unittest.skip('TODO: RUSTPYTHON; rustpython panicked at "dict has non-string keys: [PyObject PyBaseObject]"')
5196+
@unittest.skip("TODO: RUSTPYTHON; rustpython panicked at 'dict has non-string keys: [PyObject PyBaseObject]'")
51975197
def test_type_lookup_mro_reference(self):
51985198
# Issue #14199: _PyType_Lookup() has to keep a strong reference to
51995199
# the type MRO because it may be modified during the lookup, if
@@ -5640,7 +5640,7 @@ def __repr__(self):
56405640
objcopy2 = deepcopy(objcopy)
56415641
self._assert_is_copy(obj, objcopy2)
56425642

5643-
@unittest.skip('TODO: RUSTPYTHON; hanging')
5643+
@unittest.skip('TODO: RUSTPYTHON')
56445644
def test_issue24097(self):
56455645
# Slot name is freed inside __getattr__ and is later used.
56465646
class S(str): # Not interned
Collapse file

‎Lib/test/test_docxmlrpc.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_docxmlrpc.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def test_annotations(self):
214214
b'method_annotation</strong></a>(x: bytes)</dt></dl>'),
215215
response.read())
216216

217-
@unittest.expectedFailure # TODO: RUSTPYTHON; hTypeError: HTMLDoc.heading() missing 2 required positional arguments: "fgcol" and "bgcol"
217+
@unittest.expectedFailure # TODO: RUSTPYTHON; TypeError: HTMLDoc.heading() missing 2 required positional arguments: "fgcol" and "bgcol"
218218
def test_server_title_escape(self):
219219
# bpo-38243: Ensure that the server title and documentation
220220
# are escaped for HTML.
Collapse file

‎Lib/test/test_ftplib.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_ftplib.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,7 @@ def setUp(self, encoding=DEFAULT_ENCODING):
921921

922922
@skipUnless(ssl, "SSL not available")
923923
@requires_subprocess()
924+
@unittest.skip("TODO: RUSTPYTHON; SSL + asyncore has problem")
924925
class TestTLS_FTPClass(TestCase):
925926
"""Specific TLS_FTP class tests."""
926927

@@ -1006,7 +1007,6 @@ def test_context(self):
10061007
self.assertIs(sock.context, ctx)
10071008
self.assertIsInstance(sock, ssl.SSLSocket)
10081009

1009-
@unittest.skip('TODO: RUSTPYTHON; flaky')
10101010
def test_ccc(self):
10111011
self.assertRaises(ValueError, self.client.ccc)
10121012
self.client.login(secure=True)
Collapse file

‎Lib/test/test_importlib/test_locks.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_importlib/test_locks.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def f():
9999
self.assertEqual(len(results), NTHREADS)
100100
return results
101101

102-
@unittest.skip("TODO: RUSTPYTHON, flaky test")
102+
@unittest.skip("TODO: RUSTPYTHON, sometimes hangs")
103103
def test_deadlock(self):
104104
results = self.run_deadlock_avoidance_test(True)
105105
# At least one of the threads detected a potential deadlock on its
Collapse file

‎Lib/test/test_json/test_recursion.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_json/test_recursion.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def default(self, o):
6868
self.fail("didn't raise ValueError on default recursion")
6969

7070
# TODO: RUSTPYTHON
71-
@unittest.skip('TODO: RUSTPYTHON; crashes')
71+
@unittest.skip("TODO: RUSTPYTHON; crashes")
7272
def test_highly_nested_objects_decoding(self):
7373
# test that loading highly-nested objects doesn't segfault when C
7474
# accelerations are used. See #12017

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.