Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix netrc unit tests
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
  • Loading branch information
sleiderr and webknjaz authored Jan 6, 2025
commit e83581982ca55b70bdffb7e9f815eee8f5b2592c
13 changes: 2 additions & 11 deletions Lib/test/test_netrc.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import netrc
import os
import sys
import textwrap
import unittest
from test.support import os_helper, run_unittest
import netrc, os, unittest, sys, textwrap
from test.support import os_helper

try:
import pwd
Expand All @@ -12,7 +8,6 @@

temp_filename = os_helper.TESTFN


class NetrcTestCase(unittest.TestCase):

def make_nrc(self, test_data):
Expand Down Expand Up @@ -329,9 +324,5 @@ def test_security(self):
('anonymous', '', 'pass'))


def test_main():
run_unittest(NetrcTestCase)


if __name__ == "__main__":
unittest.main()
Loading