test: avoid variable shadowing
Avoid shadowing `unittest` from the global imports. Use a different identifier and make pylint happier.
This commit is contained in:
parent
46526cf205
commit
5d3679f85a
1 changed files with 2 additions and 2 deletions
|
|
@ -176,8 +176,8 @@ class OSBuild(contextlib.AbstractContextManager):
|
|||
_cachedir = None
|
||||
_outputdir = None
|
||||
|
||||
def __init__(self, unittest, cache_from=None):
|
||||
self._unittest = unittest
|
||||
def __init__(self, unit_test, cache_from=None):
|
||||
self._unittest = unit_test
|
||||
self._cache_from = cache_from
|
||||
|
||||
def __enter__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue