diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-14 16:50:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-14 16:52:08 +0300 |
commit | 90b0fb135fdd06055d42f22396120e812440122d (patch) | |
tree | bdcdd6ad142bbf58e6a1844eeffde6e07ee48b04 /tests | |
parent | 8a1860bd9aecddf611b64e3e842bdc8c76f15cc6 (diff) |
PyAPI: remove deprecated bpy.app.binary_path_python
Diffstat (limited to 'tests')
-rw-r--r-- | tests/python/bl_test.py | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/python/bl_test.py b/tests/python/bl_test.py index 110b4238f6c..6315ffbfa9d 100644 --- a/tests/python/bl_test.py +++ b/tests/python/bl_test.py @@ -32,18 +32,9 @@ def replace_bpy_app_version(): app = bpy.app app_fake = type(bpy)("bpy.app") - app_attr_exclude = { - # This causes a noisy warning every time. - "binary_path_python", - } - for attr in dir(app): - if attr.startswith("_"): - continue - if attr in app_attr_exclude: - continue - - setattr(app_fake, attr, getattr(app, attr)) + if not attr.startswith("_"): + setattr(app_fake, attr, getattr(app, attr)) app_fake.version = 0, 0, 0 app_fake.version_string = "0.00 (sub 0)" |