Skip to content

Commit cefee53

Browse files
fix: remove unused global
Signed-off-by: florian <florian@harfanglab.fr>
1 parent cad6cc6 commit cefee53

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

test_opensearchpy/test_server/test_rest_api_spec.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,6 @@ def run_catch(self, catch: Any, exception: Any) -> None:
262262
self.last_response = exception.info
263263

264264
def run_skip(self, skip: Any) -> Any:
265-
global IMPLEMENTED_FEATURES
266-
267265
if "features" in skip:
268266
features = skip["features"]
269267
if not isinstance(features, (tuple, list)):

utils/build_dists.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ def run(*argv: Any, expect_exit_code: int = 0) -> None:
6363
will exit the process if they do not
6464
match the proper exit code
6565
"""
66-
global TMP_DIR
6766
if TMP_DIR is None:
6867
os.chdir(BASE_DIR)
6968
else:

0 commit comments

Comments
 (0)