Fix: tests: remove unused imports
[babeltrace.git] / tests / bindings / python / bt2 / test_field.py
index 2af55fb241dd46a5d703bafd644cf0738693f5a1..2f4a7a76bac7031b647b680928aa27d4f90c9010 100644 (file)
@@ -24,11 +24,7 @@ import copy
 import itertools
 import collections
 import bt2
-from utils import (
-    get_default_trace_class,
-    TestOutputPortMessageIterator,
-    create_const_field,
-)
+from utils import get_default_trace_class, create_const_field
 
 
 _COMP_BINOPS = (operator.eq, operator.ne)
@@ -2194,7 +2190,9 @@ class OptionFieldTestCase(unittest.TestCase):
         field.value = {'opt_field': 'hiboux'}
 
     def _create_fc(self, tc):
-        fc = tc.create_option_field_class(tc.create_string_field_class())
+        fc = tc.create_option_without_selector_field_class(
+            tc.create_string_field_class()
+        )
         top_fc = tc.create_structure_field_class()
         top_fc.append_member('opt_field', fc)
         return top_fc
This page took 0.023044 seconds and 4 git commands to generate.