Skip to content

Commit 8852b2e

Browse files
author
Bogdan Marinescu
committed
Removed hidden argument to set_targets_json_location
The previous code used a variable that was internal to the Target class. This commit removes the argument to `set_targets_json_location` completely, which forces Target to use the default locatio internally.
1 parent d7899b4 commit 8852b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test/config_test/config_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_tree(full_name, name):
4444
if os.path.isfile(os.path.join(full_name, "targets.json")):
4545
set_targets_json_location(os.path.join(full_name, "targets.json"))
4646
else: # uset the regular set of targets
47-
set_targets_json_location(Target._Target__targets_json_location_default)
47+
set_targets_json_location()
4848
for target, expected in test_data.expected_results.items():
4949
sys.stdout.write("%s:'%s'(%s) " % (name, expected["desc"], target))
5050
sys.stdout.flush()

0 commit comments

Comments
 (0)