tests: use os.pathsep when appending to BABELTRACE_PLUGIN_PATH
[babeltrace.git] / tests / bindings / python / bt2 / test_trace_collection_message_iterator.py
index 947c37b21acd412e58ed8465801c24f501942175..22e12cdebe615d65651f3a5fe012d12cfbd88b14 100644 (file)
@@ -219,7 +219,7 @@ class TraceCollectionMessageIteratorTestCase(unittest.TestCase):
 class _TestAutoDiscoverSourceComponentSpecs(unittest.TestCase):
     def setUp(self):
         self._saved_babeltrace_plugin_path = os.environ['BABELTRACE_PLUGIN_PATH']
-        os.environ['BABELTRACE_PLUGIN_PATH'] += ':' + self._plugin_path
+        os.environ['BABELTRACE_PLUGIN_PATH'] += os.pathsep + self._plugin_path
 
     def tearDown(self):
         os.environ['BABELTRACE_PLUGIN_PATH'] = self._saved_babeltrace_plugin_path
This page took 0.023994 seconds and 4 git commands to generate.