Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
  • Loading branch information
keshav-space committed Aug 30, 2023
1 parent 1c37461 commit ec560fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_codestyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class BaseTests(unittest.TestCase):
def test_codestyle(self):
args = "black --check -l 100 setup.py src tests"
try:
subprocess.check_output(args.split())
subprocess.run(args.split(), check=True, capture_output=True)
except subprocess.CalledProcessError as e:
print("===========================================================")
print(e.output)
Expand All @@ -25,7 +25,7 @@ def test_codestyle(self):

args = "isort --check-only src tests setup.py"
try:
subprocess.check_output(args.split())
subprocess.run(args.split(), check=True, capture_output=True)
except Exception as e:
print("===========================================================")
print(e.output)
Expand Down

0 comments on commit ec560fc

Please sign in to comment.