Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit93da596

Browse files
committed
Use another file instead ofreperf
1 parentd4387f1 commit93da596

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎Lib/test/test_embed.py‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,11 @@ def test_no_memleak(self):
18291829
@unittest.skipUnless(support.Py_DEBUG,
18301830
'-X presite requires a Python debug build')
18311831
deftest_presite(self):
1832-
cmd= [sys.executable,"-I","-X","presite=test.reperf","-c","print('cmd')"]
1832+
cmd= [
1833+
sys.executable,
1834+
"-I","-X","presite=test._test_embed_structseq",
1835+
"-c","print('cmd')",
1836+
]
18331837
proc=subprocess.run(
18341838
cmd,
18351839
stdout=subprocess.PIPE,
@@ -1838,8 +1842,7 @@ def test_presite(self):
18381842
)
18391843
self.assertEqual(proc.returncode,0)
18401844
out=proc.stdout.strip()
1841-
self.assertIn("10 times sub",out)
1842-
self.assertIn("CPU seconds",out)
1845+
self.assertIn("Tests passed",out)
18431846
self.assertIn("cmd",out)
18441847

18451848

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp