Created
April 2, 2014 03:22
-
-
Save peterbe/9927429 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nosetests | |
......ERROR Property: Invalid value for "CSS Level 2.1" property: 2px [8:14: list-style] | |
ERROR Property: Invalid value for "CSS Level 2.1" property: 2px [2:14: list-style] | |
.ERROR Property: Invalid value for "CSS Level 2.1" property: 2px [4:14: list-style] | |
............../Users/peterbe/virtualenvs/premailer/lib/python2.6/site-packages/cssutils/css/cssstyledeclaration.py:624: DeprecationWarning: Call to deprecated method '_getCSSValue'. Use ``property.propertyValue`` instead. | |
property.cssValue = newp.cssValue.cssText | |
/Users/peterbe/virtualenvs/premailer/lib/python2.6/site-packages/cssutils/css/cssstyledeclaration.py:624: DeprecationWarning: Call to deprecated method '_setCSSValue'. Use ``property.propertyValue`` instead. | |
property.cssValue = newp.cssValue.cssText | |
.................ERROR Selector: Unexpected CHAR. [5:26: )] | |
ERROR Selector: Invalid or incomplete selector: div:not(:nth-child(1)) | |
ERROR SelectorList: Invalid Selector: div:not(:nth-child(1)) | |
FERROR Selector: Unexpected negation. [5:13: :not(] | |
ERROR Selector: Unexpected CHAR. [5:31: )] | |
ERROR SelectorList: Invalid Selector: div:not(:not(:first-child)) | |
F | |
====================================================================== | |
FAIL: premailer.test_premailer.test_trusted_pseudo | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/peterbe/virtualenvs/premailer/lib/python2.6/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/Users/peterbe/dev/PYTHON/premailer/premailer/test_premailer.py", line 1486, in test_trusted_pseudo | |
eq_(expect_html, result_html) | |
File "/Users/peterbe/virtualenvs/premailer/lib/python2.6/site-packages/nose/tools.py", line 31, in eq_ | |
assert a == b, msg or "%r != %r" % (a, b) | |
AssertionError: '<html><head></head><body><div style="color:red">First child</div><p>Middle child</p><div style="color:blue">Last child</div></body></html>' != '<html><head></head><body><div style="color:red">First child</div><p>Middle child</p><div style="color:red">Last child</div></body></html>' | |
-------------------- >> begin captured logging << -------------------- | |
CSSUTILS: ERROR: Selector: Unexpected CHAR. [5:26: )] | |
CSSUTILS: ERROR: Selector: Invalid or incomplete selector: div:not(:nth-child(1)) | |
CSSUTILS: ERROR: SelectorList: Invalid Selector: div:not(:nth-child(1)) | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: premailer.test_premailer.test_trusted_pseudo_bad_selector | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/peterbe/virtualenvs/premailer/lib/python2.6/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/Users/peterbe/dev/PYTHON/premailer/premailer/test_premailer.py", line 1524, in test_trusted_pseudo_bad_selector | |
eq_(expect_html, result_html) | |
File "/Users/peterbe/virtualenvs/premailer/lib/python2.6/site-packages/nose/tools.py", line 31, in eq_ | |
assert a == b, msg or "%r != %r" % (a, b) | |
AssertionError: '<html><head><style type="text/css">div:not(:not(:first-child)) {color:blue}</style></head><body><div style="color:red">First child</div><div style="color:red">Last child</div></body></html>' != '<html><head></head><body><div style="color:red">First child</div><div style="color:red">Last child</div></body></html>' | |
-------------------- >> begin captured logging << -------------------- | |
CSSUTILS: ERROR: Selector: Unexpected negation. [5:13: :not(] | |
CSSUTILS: ERROR: Selector: Unexpected CHAR. [5:31: )] | |
CSSUTILS: ERROR: SelectorList: Invalid Selector: div:not(:not(:first-child)) | |
--------------------- >> end captured logging << --------------------- | |
---------------------------------------------------------------------- | |
Ran 40 tests in 0.576s | |
FAILED (failures=2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment