Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 175bc65

Browse files
committed
Merge pull request #90 from asottile/put_back_bytes_test
Restore bytes test for warnings removed in c54f786
2 parents b5bcb3a + 620d6c4 commit 175bc65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sasstests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,10 @@ def test_sass_warning_no_conversion(self):
854854
warn = sass.SassWarning(u'error msg')
855855
assert type(warn.msg) is text_type, type(warn.msg)
856856

857+
def test_sass_warning_no_conversion_bytes_message(self):
858+
warn = sass.SassWarning(b'error msg')
859+
assert type(warn.msg) is text_type, type(warn.msg)
860+
857861
def test_sass_error_no_conversion(self):
858862
err = sass.SassError(u'error msg')
859863
assert type(err.msg) is text_type, type(err.msg)

0 commit comments

Comments
 (0)