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 — Fix transient failure in test_asyncio · elide-dev/graalpython@ad92ba2

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • graalpython/lib-python/3/test/test_asyncio
    • test_subprocess.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎graalpython/lib-python/3/test/test_asyncio/test_subprocess.py‎

Copy file name to clipboardExpand all lines: graalpython/lib-python/3/test/test_asyncio/test_subprocess.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,9 @@ def test_terminate(self):
226226
self.assertIsInstance(returncode, int)
227227
# expect 1 but sometimes get 0
228228
else:
229-
self.assertEqual(-signal.SIGTERM, returncode)
229+
# GraalPy change: JVM exits with 143 on SIGTERM
230+
exitcodes = [-signal.SIGTERM, 128 + signal.SIGTERM]
231+
self.assertIn(returncode, exitcodes)
230232

231233
@unittest.skipIf(sys.platform == 'win32', "Don't have SIGHUP")
232234
def test_send_signal(self):

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.