diff options
author | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-08-27 15:22:32 -0700 |
---|---|---|
committer | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-08-27 15:22:32 -0700 |
commit | 0773b2c16c9d15f2dc76f7a4d49e98c1e5f59ea2 (patch) | |
tree | 12b43ed0b0607b178bec2862a7584e5d37a580fa /scss/tests/test_expression.py | |
parent | 2b61376baf191a82f9774dcb9f51abd03edb1eba (diff) | |
download | pyscss-0773b2c16c9d15f2dc76f7a4d49e98c1e5f59ea2.tar.gz |
At long last, kill ParserValue and most of the Color constructor.
Diffstat (limited to 'scss/tests/test_expression.py')
-rw-r--r-- | scss/tests/test_expression.py | 2 |
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): |