Skip to content

Commit 083833e

Browse files
committed
Upgrade to 3.5.2
1 parent 4e41518 commit 083833e

File tree

2 files changed

+13
-21
lines changed

2 files changed

+13
-21
lines changed

sasstests.py

+12-20
Original file line numberDiff line numberDiff line change
@@ -1128,11 +1128,9 @@ def test_raises(self):
11281128
r'^Error: error in C function raises: \n'
11291129
r' Traceback \(most recent call last\):\n'
11301130
r'.+'
1131-
r'AssertionError: foo\n\n\n'
1132-
r' Backtrace:\n'
1133-
r' \tstdin:1, in function `raises`\n'
1134-
r' \tstdin:1\n'
1135-
r' on line 1 of stdin\n'
1131+
r'AssertionError: foo\n'
1132+
r' on line 1 of stdin, in function `raises`\n'
1133+
r' from line 1 of stdin\n'
11361134
r'>> a { content: raises\(\); }\n'
11371135
r' -------------\^\n$'
11381136
)):
@@ -1141,11 +1139,9 @@ def test_raises(self):
11411139
def test_warning(self):
11421140
with assert_raises_compile_error(
11431141
'Error: warning in C function returns_warning: '
1144-
'This is a warning\n\n'
1145-
' Backtrace:\n'
1146-
' \tstdin:1, in function `returns_warning`\n'
1147-
' \tstdin:1\n'
1148-
' on line 1 of stdin\n'
1142+
'This is a warning\n'
1143+
' on line 1 of stdin, in function `returns_warning`\n'
1144+
' from line 1 of stdin\n'
11491145
'>> a { content: returns_warning(); }\n'
11501146
' -------------^\n'
11511147
):
@@ -1154,11 +1150,9 @@ def test_warning(self):
11541150
def test_error(self):
11551151
with assert_raises_compile_error(
11561152
'Error: error in C function returns_error: '
1157-
'This is an error\n\n'
1158-
' Backtrace:\n'
1159-
' \tstdin:1, in function `returns_error`\n'
1160-
' \tstdin:1\n'
1161-
' on line 1 of stdin\n'
1153+
'This is an error\n'
1154+
' on line 1 of stdin, in function `returns_error`\n'
1155+
' from line 1 of stdin\n'
11621156
'>> a { content: returns_error(); }\n'
11631157
' -------------^\n'
11641158
):
@@ -1178,11 +1172,9 @@ def test_returns_unknown_object(self):
11781172
' - dict\n'
11791173
' - SassMap\n'
11801174
' - SassWarning\n'
1181-
' - SassError\n\n\n'
1182-
' Backtrace:\n'
1183-
' \tstdin:1, in function `returns_unknown`\n'
1184-
' \tstdin:1\n'
1185-
' on line 1 of stdin\n'
1175+
' - SassError\n'
1176+
' on line 1 of stdin, in function `returns_unknown`\n'
1177+
' from line 1 of stdin\n'
11861178
'>> a { content: returns_unknown(); }\n'
11871179
' -------------^\n'
11881180
):

0 commit comments

Comments
 (0)