Fix: bt2: use of undefined variable in _VariantFieldClassWithSelectorTestCase.test_co...
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 24 Sep 2019 19:04:07 +0000 (15:04 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 26 Sep 2019 01:52:28 +0000 (21:52 -0400)
commitfd4e623551b7acff1fb1c4deef31f62829d5a867
tree9f3197e48825e20de7dd89aa16fb1cd874444805
parentd47b6b4eafcc0cab6a93438994818af093312fd2
Fix: bt2: use of undefined variable in _VariantFieldClassWithSelectorTestCase.test_const_append

Flake8 reports:

    ./tests/bindings/python/bt2/test_field_class.py:875:43: F821 undefined name 'str_field_class'

Fix it by defining the str_field_class variable (even though it won't
actually be used).

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