@@ -77,16 +77,16 @@ def test_output_styles(self):
77
77
assert 'nested' in sass .OUTPUT_STYLES
78
78
79
79
def test_and_join (self ):
80
- self .assertEquals (
80
+ self .assertEqual (
81
81
'Korea, Japan, China, and Taiwan' ,
82
82
sass .and_join (['Korea' , 'Japan' , 'China' , 'Taiwan' ])
83
83
)
84
- self .assertEquals (
84
+ self .assertEqual (
85
85
'Korea, and Japan' ,
86
86
sass .and_join (['Korea' , 'Japan' ])
87
87
)
88
- self .assertEquals ('Korea' , sass .and_join (['Korea' ]))
89
- self .assertEquals ('' , sass .and_join ([]))
88
+ self .assertEqual ('Korea' , sass .and_join (['Korea' ]))
89
+ self .assertEqual ('' , sass .and_join ([]))
90
90
91
91
92
92
class CompileTestCase (unittest .TestCase ):
@@ -310,17 +310,17 @@ def test_wsgi_sass_middleware(self):
310
310
})
311
311
client = Client (app , Response )
312
312
r = client .get ('/asdf' )
313
- self .assertEquals (200 , r .status_code )
314
- self .assertEquals (b'/asdf' , r .data )
315
- self .assertEquals ('text/plain' , r .mimetype )
313
+ self .assertEqual (200 , r .status_code )
314
+ self .assertEqual (b'/asdf' , r .data )
315
+ self .assertEqual ('text/plain' , r .mimetype )
316
316
r = client .get ('/static/a.sass.css' )
317
- self .assertEquals (200 , r .status_code )
318
- self .assertEquals (b (A_EXPECTED_CSS_WITH_MAP ), r .data )
319
- self .assertEquals ('text/css' , r .mimetype )
317
+ self .assertEqual (200 , r .status_code )
318
+ self .assertEqual (b (A_EXPECTED_CSS_WITH_MAP ), r .data )
319
+ self .assertEqual ('text/css' , r .mimetype )
320
320
r = client .get ('/static/not-exists.sass.css' )
321
- self .assertEquals (200 , r .status_code )
322
- self .assertEquals (b'/static/not-exists.sass.css' , r .data )
323
- self .assertEquals ('text/plain' , r .mimetype )
321
+ self .assertEqual (200 , r .status_code )
322
+ self .assertEqual (b'/static/not-exists.sass.css' , r .data )
323
+ self .assertEqual ('text/plain' , r .mimetype )
324
324
finally :
325
325
shutil .rmtree (css_dir )
326
326
0 commit comments