mirror of
https://github.com/python/cpython
synced 2024-10-14 09:58:30 +00:00
gh-89392: Remove test_main() in test_netrc (GH-108860)
This commit is contained in:
parent
5a79d2ae57
commit
76f3c043b6
|
@ -1,5 +1,5 @@
|
|||
import netrc, os, unittest, sys, textwrap
|
||||
from test.support import os_helper, run_unittest
|
||||
from test.support import os_helper
|
||||
|
||||
try:
|
||||
import pwd
|
||||
|
@ -308,8 +308,6 @@ def test_security(self):
|
|||
self.assertEqual(nrc.hosts['foo.domain.com'],
|
||||
('anonymous', '', 'pass'))
|
||||
|
||||
def test_main():
|
||||
return run_unittest(NetrcTestCase)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in a new issue