Skip to content

Commit

Permalink
إصلاح مشكلة في الختبارات, #41
Browse files Browse the repository at this point in the history
fix #41
  • Loading branch information
MuhammadSawalhy committed Dec 30, 2021
1 parent 93622cd commit f7bfd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion اختبارات/مساعدات.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def run(cmd, return_prcss=False, inputs=None):
stdouts = []
stderrs = []
for i in inputs:
out, err = process.communicate(i.encode())
out, err = process.communicate(str(i).encode())
stdouts.append(out.decode())
stderrs.append(err.decode())
return stdouts, stderrs, process.returncode
Expand Down

0 comments on commit f7bfd0c

Please sign in to comment.