diff options
| author | GomathiselviS <gomathiselvi@gmail.com> | 2020-07-24 16:16:03 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-24 20:16:03 +0000 | 
| commit | fbb82a0875dacc8200d3f663c3286104d0a1afbf (patch) | |
| tree | ae507874333cff6aea4e71e4032959e1168eb036 /tests/unit/compat/mock.py | |
| parent | a387c0878535f6af1d19800ff5bb2d60fa2f4e8a (diff) | |
| download | vyos.vyos-fbb82a0875dacc8200d3f663c3286104d0a1afbf.tar.gz vyos.vyos-fbb82a0875dacc8200d3f663c3286104d0a1afbf.zip | |
[vyos] Fix sanity issues (#58)
[vyos] Fix sanity issues
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'tests/unit/compat/mock.py')
| -rw-r--r-- | tests/unit/compat/mock.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tests/unit/compat/mock.py b/tests/unit/compat/mock.py index b45d6b5c..b7df24ff 100644 --- a/tests/unit/compat/mock.py +++ b/tests/unit/compat/mock.py @@ -24,6 +24,7 @@ __metaclass__ = type  Compat module for Python3.x's unittest.mock module  """  import sys +import _io  # Python 2.7 @@ -100,7 +101,6 @@ if sys.version_info >= (3,) and sys.version_info < (3, 4, 4):          global file_spec          if file_spec is None: -            import _io              file_spec = list(                  set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))) | 
