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

Commit76f3c04

Browse files
gh-89392: Remove test_main() in test_netrc (GH-108860)
1 parent5a79d2a commit76f3c04

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎Lib/test/test_netrc.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
importnetrc,os,unittest,sys,textwrap
2-
fromtest.supportimportos_helper,run_unittest
2+
fromtest.supportimportos_helper
33

44
try:
55
importpwd
@@ -308,8 +308,6 @@ def test_security(self):
308308
self.assertEqual(nrc.hosts['foo.domain.com'],
309309
('anonymous','','pass'))
310310

311-
deftest_main():
312-
returnrun_unittest(NetrcTestCase)
313311

314312
if__name__=="__main__":
315-
test_main()
313+
unittest.main()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp