aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest
diff options
context:
space:
mode:
Diffstat (limited to '_pytest')
-rw-r--r--_pytest/conftest.py4
-rw-r--r--_pytest/test_utf8_helpers.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py
index 2dffd4f..733ca77 100644
--- a/_pytest/conftest.py
+++ b/_pytest/conftest.py
@@ -11,8 +11,8 @@ from websocket import ABNF
sys.path.append(".")
-import wee_slack
-from wee_slack import EventRouter, initiate_connection
+import wee_slack # noqa: E402
+from wee_slack import EventRouter, initiate_connection # noqa: E402
class fakewebsocket(object):
diff --git a/_pytest/test_utf8_helpers.py b/_pytest/test_utf8_helpers.py
index 271b84b..297805c 100644
--- a/_pytest/test_utf8_helpers.py
+++ b/_pytest/test_utf8_helpers.py
@@ -13,7 +13,7 @@ b_aa = "å".encode("utf-8")
b_word = b_ae + b_oe + b_aa
-if sys.version_info.major > 2:
+if sys.version_info.major > 2: # noqa: C901
def test_decode_should_not_transform_str():
assert "æøå" == decode_from_utf8("æøå")