Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: third_party/pyscss/scss/tests/test_nesting.py

Issue 9111023: Pyscss is obsolete with Dart CSS complier; remove all pyscss code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove pyparsing from .gitignore Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pyscss/scss/tests/test_mixin.py ('k') | third_party/pyscss/scss/tests/test_options.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pyscss/scss/tests/test_nesting.py
diff --git a/third_party/pyscss/scss/tests/test_nesting.py b/third_party/pyscss/scss/tests/test_nesting.py
deleted file mode 100644
index d90302538dd0fe2d461e03226aa8c405db08ec57..0000000000000000000000000000000000000000
--- a/third_party/pyscss/scss/tests/test_nesting.py
+++ /dev/null
@@ -1,38 +0,0 @@
-import unittest
-
-from scss.parser import Stylesheet
-
-
-class TestSCSS( unittest.TestCase ):
-
- def setUp(self):
- self.parser = Stylesheet(options=dict(compress=True))
-
- def test_variables(self):
- src = """
- table.hl {
- margin: 2em 0;
- td.ln {
- text-align: right;
-
- li {
- color: red;
- }
- &:hover {
- width: 20px;
- }
- }
- }
-
- li {
- font: {
- family: serif;
- weight: bold;
- size: 1.2em;
- }
- }
- """
- test = "table.hl{margin:2em 0}table.hl td.ln{text-align:right}table.hl td.ln li{color:#f00}table.hl td.ln:hover{width:20px}li{font-weight:bold;font-size:1.2em;font-family:serif}"
- out = self.parser.loads(src)
- self.assertEqual(test, out)
-
« no previous file with comments | « third_party/pyscss/scss/tests/test_mixin.py ('k') | third_party/pyscss/scss/tests/test_options.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698