bt2: ignore comparison to None flake8 warnings in test_value.py
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 24 Sep 2019 18:17:38 +0000 (14:17 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 26 Sep 2019 01:52:28 +0000 (21:52 -0400)
commit8d3790e5acfb8b650e8650145e989f0fd598279c
tree71fe0629e35959b52e417efaad611500287e4736
parentd81716f0e4a89e270db71c42a5f9ae6e9704a8ee
bt2: ignore comparison to None flake8 warnings in test_value.py

Fix these:

    ./tests/bindings/python/bt2/test_value.py:485:36: E711 comparison to None should be 'if cond is None:'
    ./tests/bindings/python/bt2/test_value.py:488:35: E711 comparison to None should be 'if cond is not None:'
    ./tests/bindings/python/bt2/test_value.py:1177:36: E711 comparison to None should be 'if cond is None:'
    ./tests/bindings/python/bt2/test_value.py:1180:35: E711 comparison to None should be 'if cond is not None:'

In these tests, we specifically want to test that comparing (equal/not
equal) to None yields the expected result.

Reported-by: flake8
Change-Id: I47d96598a158b10116fc6a948d42ef61f608fb07
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2087
tests/bindings/python/bt2/test_value.py
This page took 0.02503 seconds and 4 git commands to generate.