mirror of
https://github.com/bndr/pipreqs.git
synced 2025-07-21 01:10:01 +00:00
Removing accidentally added lines
This commit is contained in:
parent
e4a58ee0ad
commit
6ab86c37e4
@ -46,7 +46,7 @@ class TestPipreqs(unittest.TestCase):
|
|||||||
"""
|
"""
|
||||||
Test that invalid python files cannot be imported.
|
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):
|
def test_get_imports_info(self):
|
||||||
"""
|
"""
|
||||||
@ -150,12 +150,10 @@ class TestPipreqs(unittest.TestCase):
|
|||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
os.remove(self.requirements_path)
|
os.remove(self.requirements_path)
|
||||||
pass
|
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
os.remove(self.alt_requirement_path)
|
os.remove(self.alt_requirement_path)
|
||||||
pass
|
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user