From 6ab86c37e4b2da8ffabeb55ca790e0b6d9275186 Mon Sep 17 00:00:00 2001 From: Kay Sackey Date: Thu, 28 Jan 2016 15:45:17 -0500 Subject: [PATCH] Removing accidentally added lines --- tests/test_pipreqs.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_pipreqs.py b/tests/test_pipreqs.py index 039ceb3..2a51bb5 100755 --- a/tests/test_pipreqs.py +++ b/tests/test_pipreqs.py @@ -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): """ @@ -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