mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
fix boilerplate test
Fixed AttributeError: type object '_io.StringIO' has no attribute 'StringIO'
This commit is contained in:
parent
9dc1da1e5b
commit
4473dfebbf
@ -40,7 +40,7 @@ class TestBoilerplate(unittest.TestCase):
|
||||
|
||||
# capture stdout
|
||||
old_stdout = sys.stdout
|
||||
sys.stdout = StringIO.StringIO()
|
||||
sys.stdout = StringIO()
|
||||
|
||||
boilerplate.args = Args()
|
||||
ret = boilerplate.main()
|
||||
|
Loading…
Reference in New Issue
Block a user