Skip to content

Commit 41615bb

Browse files
committed
Get rid of soak tests and related functionality/import
1 parent 469780b commit 41615bb

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tests/test_ethtool.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
import sys
2323
import unittest
24-
from test.test_support import run_unittest # requires python-test subpackage on Fedora/RHEL
2524

2625
import ethtool
2726

@@ -237,12 +236,4 @@ def test_etherinfo_objects(self):
237236

238237

239238
if __name__ == '__main__':
240-
try:
241-
# if count provided do a soak test, to detect leaking resources
242-
count = int(sys.argv[1])
243-
for i in range(count):
244-
run_unittest(EthtoolTests)
245-
if i % (count / 10) == 0:
246-
sys.stderr.write("%s %%\n" % (i * 100 / count))
247-
except:
248-
run_unittest(EthtoolTests)
239+
unittest.main()

0 commit comments

Comments
 (0)