From a30a477755f669a11aef5ce492f287627565d978 Mon Sep 17 00:00:00 2001 From: Kota Tsuyuzaki Date: Wed, 27 Feb 2019 12:52:06 +0900 Subject: [PATCH] Stop overwriting reserved term `dir` is a reserved instruction term in python, so this patch avoiding to assing a value to it. Change-Id: If780c4ffb72808b834e25a396665f17bd8383870 --- test/probe/test_replication_servers_working.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/probe/test_replication_servers_working.py b/test/probe/test_replication_servers_working.py index 79f63b29ea..1052d5ba7c 100644 --- a/test/probe/test_replication_servers_working.py +++ b/test/probe/test_replication_servers_working.py @@ -142,8 +142,8 @@ class TestReplicatorFunctions(ReplProbeTest): for files in test_node_files_list: self.assertIn(files, new_files_list[0]) - for dir in test_node_dir_list: - self.assertIn(dir, new_dir_list[0]) + for directory in test_node_dir_list: + self.assertIn(directory, new_dir_list[0]) break except Exception: if time.time() - begin > 60: