diff --git a/libsass b/libsass index 6ee62bde..9cfe0df9 160000 --- a/libsass +++ b/libsass @@ -1 +1 @@ -Subproject commit 6ee62bdef0bfe35274e3416f63024247e963f030 +Subproject commit 9cfe0df975945325e05d6dd39ee98224898d9a79 diff --git a/sasstests.py b/sasstests.py index c2c807a8..93f8a0b6 100644 --- a/sasstests.py +++ b/sasstests.py @@ -1128,11 +1128,9 @@ def test_raises(self): r'^Error: error in C function raises: \n' r' Traceback \(most recent call last\):\n' r'.+' - r'AssertionError: foo\n\n\n' - r' Backtrace:\n' - r' \tstdin:1, in function `raises`\n' - r' \tstdin:1\n' - r' on line 1 of stdin\n' + r'AssertionError: foo\n' + r' on line 1 of stdin, in function `raises`\n' + r' from line 1 of stdin\n' r'>> a { content: raises\(\); }\n' r' -------------\^\n$' )): @@ -1141,11 +1139,9 @@ def test_raises(self): def test_warning(self): with assert_raises_compile_error( 'Error: warning in C function returns_warning: ' - 'This is a warning\n\n' - ' Backtrace:\n' - ' \tstdin:1, in function `returns_warning`\n' - ' \tstdin:1\n' - ' on line 1 of stdin\n' + 'This is a warning\n' + ' on line 1 of stdin, in function `returns_warning`\n' + ' from line 1 of stdin\n' '>> a { content: returns_warning(); }\n' ' -------------^\n' ): @@ -1154,11 +1150,9 @@ def test_warning(self): def test_error(self): with assert_raises_compile_error( 'Error: error in C function returns_error: ' - 'This is an error\n\n' - ' Backtrace:\n' - ' \tstdin:1, in function `returns_error`\n' - ' \tstdin:1\n' - ' on line 1 of stdin\n' + 'This is an error\n' + ' on line 1 of stdin, in function `returns_error`\n' + ' from line 1 of stdin\n' '>> a { content: returns_error(); }\n' ' -------------^\n' ): @@ -1178,11 +1172,9 @@ def test_returns_unknown_object(self): ' - dict\n' ' - SassMap\n' ' - SassWarning\n' - ' - SassError\n\n\n' - ' Backtrace:\n' - ' \tstdin:1, in function `returns_unknown`\n' - ' \tstdin:1\n' - ' on line 1 of stdin\n' + ' - SassError\n' + ' on line 1 of stdin, in function `returns_unknown`\n' + ' from line 1 of stdin\n' '>> a { content: returns_unknown(); }\n' ' -------------^\n' ):