Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b6e82 commit aa1ac54Copy full SHA for aa1ac54
1 file changed
Lib/test/test_shlex.py
@@ -3,6 +3,8 @@
3
import os, sys
4
import shlex
5
6
+from test import test_support
7
+
8
try:
9
from cStringIO import StringIO
10
except ImportError:
@@ -187,5 +189,8 @@ def testCompat(self):
187
189
if methname.startswith("test") and methname != "testCompat":
188
190
delattr(ShlexTest, methname)
191
192
+def test_main():
193
+ test_support.run_unittest(ShlexTest)
194
195
if __name__ == "__main__":
- unittest.main()
196
+ test_main()
0 commit comments