summaryrefslogtreecommitdiff
path: root/scss/tests/test_expression.py
diff options
context:
space:
mode:
Diffstat (limited to 'scss/tests/test_expression.py')
-rw-r--r--scss/tests/test_expression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/tests/test_expression.py b/scss/tests/test_expression.py
index a16950e..4798006 100644
--- a/scss/tests/test_expression.py
+++ b/scss/tests/test_expression.py
@@ -80,7 +80,7 @@ def test_functions(calc):
ns = Namespace(functions=CORE_LIBRARY)
calc = Calculator(ns).calculate
- assert calc('grayscale(red)') == Color((127.5, 127.5, 127.5, 1))
+ assert calc('grayscale(red)') == Color.from_rgb(0.5, 0.5, 0.5)
assert calc('grayscale(1)') == String('grayscale(1)', quotes=None) # Misusing css built-in functions (with scss counterpart)
assert calc('skew(1)') == String('skew(1)', quotes=None) # Missing css-only built-in functions
with pytest.raises(TypeError):