Skip to content

Commit

Permalink
Removing accidentally added lines
Browse files Browse the repository at this point in the history
  • Loading branch information
KaySackey committed Jan 28, 2016
1 parent e4a58ee commit 6ab86c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_pipreqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_invalid_python(self):
"""
Test that invalid python files cannot be imported.
"""
self.assertRaises(SyntaxError, pipreqs.get_all_imports, self.project_invalid)
self.assertRaises(SyntaxError, pipreqs.get_all_imports, self.project_invalid)

def test_get_imports_info(self):
"""
Expand Down Expand Up @@ -150,12 +150,10 @@ def tearDown(self):
"""
try:
os.remove(self.requirements_path)
pass
except OSError:
pass
try:
os.remove(self.alt_requirement_path)
pass
except OSError:
pass

Expand Down

0 comments on commit 6ab86c3

Please sign in to comment.