We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 469780b commit 41615bbCopy full SHA for 41615bb
tests/test_ethtool.py
@@ -21,7 +21,6 @@
21
22
import sys
23
import unittest
24
-from test.test_support import run_unittest # requires python-test subpackage on Fedora/RHEL
25
26
import ethtool
27
@@ -237,12 +236,4 @@ def test_etherinfo_objects(self):
237
236
238
239
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
+ unittest.main()
0 commit comments