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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Oct 2019 14:45:11 +0000 (10:45 -0400)
commitdda7ee0a56bd5441abd380a6950da1fb2ef659be
tree8138c3e4f70b03ea892c0b2d2e8119dc75c6520c
parentc82e51226e96a92c8321c22f9c2a672d6c5b93d3
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.024283 seconds and 4 git commands to generate.