Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/python/bl_pyapi_bpy_utils_units.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/python/bl_pyapi_bpy_utils_units.py b/tests/python/bl_pyapi_bpy_utils_units.py
index 88d5cb941bd..d5d9c9c707b 100644
--- a/tests/python/bl_pyapi_bpy_utils_units.py
+++ b/tests/python/bl_pyapi_bpy_utils_units.py
@@ -37,13 +37,13 @@ class UnitsTesting(unittest.TestCase):
('IMPERIAL', 'LENGTH', 3, False, False, 0.3048, "1'"),
('IMPERIAL', 'LENGTH', 3, False, True, 0.3048, "1ft"),
('IMPERIAL', 'LENGTH', 4, True, False, 0.3048 * 2 + 0.0254 * 5.5, "2' 5.5\""),
- ('IMPERIAL', 'LENGTH', 3, False, False, 1609.344 * 1e6, "1000000mi"),
- ('IMPERIAL', 'LENGTH', 6, False, False, 1609.344 * 1e6, "1000000mi"),
- ('METRIC', 'LENGTH', 3, True, False, 1000 * 2 + 0.001 * 15, "2km 2cm"),
- ('METRIC', 'LENGTH', 5, True, False, 1234.56789, "1km 234.6m"),
- ('METRIC', 'LENGTH', 6, True, False, 1234.56789, "1km 234.57m"),
- ('METRIC', 'LENGTH', 9, False, False, 1234.56789, "1.234568km"),
- ('METRIC', 'LENGTH', 9, True, False, 1000.000123456789, "1km 0.123mm"),
+ ('IMPERIAL', 'LENGTH', 3, False, False, 1609.344 * 1e6, "1000000 mi"),
+ ('IMPERIAL', 'LENGTH', 6, False, False, 1609.344 * 1e6, "1000000 mi"),
+ ('METRIC', 'LENGTH', 3, True, False, 1000 * 2 + 0.001 * 15, "2 km 2 cm"),
+ ('METRIC', 'LENGTH', 5, True, False, 1234.56789, "1 km 234.6 m"),
+ ('METRIC', 'LENGTH', 6, True, False, 1234.56789, "1 km 234.57 m"),
+ ('METRIC', 'LENGTH', 9, False, False, 1234.56789, "1.234568 km"),
+ ('METRIC', 'LENGTH', 9, True, False, 1000.000123456789, "1 km 0.123 mm"),
)
def test_units_inputs(self):