summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-03-01 18:17:41 -0800
committerTimothy Crosley <timothy.crosley@gmail.com>2019-03-01 18:17:41 -0800
commit36e64f73d1435535719382be97204c7e0d020be0 (patch)
treeb298c4bf5b5dd1cfd4a22b5dee633d088114a6e9
parent22ca36c030c9ffe3df1c1e24e496e22ba4cc3c7e (diff)
downloadisort-36e64f73d1435535719382be97204c7e0d020be0.tar.gz
Remove bare except
-rw-r--r--test_isort.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test_isort.py b/test_isort.py
index 29b63763..27282290 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -2526,8 +2526,6 @@ def test_new_lines_are_preserved():
with io.open(rn_newline.name, newline='') as rn_newline_file:
rn_newline_contents = rn_newline_file.read()
assert rn_newline_contents == 'import os\r\nimport sys\r\n'
- except:
- pass
finally:
os.remove(rn_newline.name)