summaryrefslogtreecommitdiff
path: root/scss/tests
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2014-08-31 19:02:48 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2014-08-31 19:02:48 -0700
commit66caf45e0b152c14bcec5a24e5a31ca75fe4ea73 (patch)
tree41b408e3b7a8954aa8635d85a20c29768704b389 /scss/tests
parent998b20062992292fb8be0c235aacf5f5c303e8a9 (diff)
downloadpyscss-66caf45e0b152c14bcec5a24e5a31ca75fe4ea73.tar.gz
Preserve the order of slurpy kwargs. Fix a heisentest.
Diffstat (limited to 'scss/tests')
-rw-r--r--scss/tests/test_misc.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/scss/tests/test_misc.py b/scss/tests/test_misc.py
index 82cc76b..da606f4 100644
--- a/scss/tests/test_misc.py
+++ b/scss/tests/test_misc.py
@@ -3,6 +3,11 @@
own files, maybe.
"""
+try:
+ from collections import OrderedDict
+except ImportError:
+ from ordereddict import OrderedDict
+
import pytest
from scss import Scss
@@ -71,7 +76,7 @@ def test_live_errors():
def test_extend_across_files():
compiler = Scss(scss_opts=dict(compress=0))
- compiler._scss_files = {}
+ compiler._scss_files = OrderedDict()
compiler._scss_files['first.css'] = '''
@option style:legacy, short_colors:yes, reverse_colors:yes;
.specialClass extends .basicClass {