Skip to content

Commit

Permalink
Remove saving of raiseExceptions as this value gets reset for every t…
Browse files Browse the repository at this point in the history
…est anyway.
  • Loading branch information
jaraco committed Jun 9, 2022
1 parent 83d653e commit ad850e0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions cssutils/tests/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ def fetcher(url):

return fetcher

def setup(self):
self._saved = cssutils.log.raiseExceptions

def teardown(self):
cssutils.log.raiseExceptions = self._saved

def test_init(self):
"CSSParser.__init__()"
assert cssutils.log.raiseExceptions
Expand Down
6 changes: 0 additions & 6 deletions cssutils/tests/test_scripts_csscombine.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ class CSSCombine(basetest.BaseTestCase):

C = '@namespace s2"uri";s2|sheet-1{top:1px}s2|sheet-2{top:2px}proxy{top:3px}'

def setup(self):
self._saved = cssutils.log.raiseExceptions

def teardown(self):
cssutils.log.raiseExceptions = self._saved

def test_combine(self):
"scripts.csscombine()"

Expand Down

0 comments on commit ad850e0

Please sign in to comment.