summaryrefslogtreecommitdiff
path: root/tests/sources/zip.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-19 18:05:05 +0000
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-20 09:38:42 +0000
commita90daa6a123d74a938a646e2fccaf4bfe6a5b950 (patch)
tree0137bfa22aba8ebbd15eafd1c41778f63f3933fe /tests/sources/zip.py
parent7ce5dcfc813bc3bc94125429a7c44e24d2147c36 (diff)
downloadbuildstream-a90daa6a123d74a938a646e2fccaf4bfe6a5b950.tar.gz
tests:lint: silence redefined-outer-name in files using fixtures
Pylint doesn't play well with pytest fixtures, we therefore need to silence this error.
Diffstat (limited to 'tests/sources/zip.py')
-rw-r--r--tests/sources/zip.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sources/zip.py b/tests/sources/zip.py
index 64ef61c21..4df81ca29 100644
--- a/tests/sources/zip.py
+++ b/tests/sources/zip.py
@@ -1,3 +1,6 @@
+# Pylint doesn't play well with fixtures and dependency injection from pytest
+# pylint: disable=redefined-outer-name
+
import os
import zipfile