mirror of
https://github.com/python/cpython.git
synced 2024-11-21 12:59:38 +01:00
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 @@ class NetrcTestCase(unittest.TestCase):
|
||||
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 New Issue
Block a user