Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Basic python test file #1217

Merged
merged 1 commit into from
Oct 3, 2020

Conversation

adgai19
Copy link
Contributor

@adgai19 adgai19 commented Oct 3, 2020

I have added basic test file in python for #1213 . I know it does not cover the whole syntax but I tried to cover as much as possible.Let me know if I need to add anything else.

@sharkdp
Copy link
Owner

sharkdp commented Oct 3, 2020

Thank you very much!

@sharkdp sharkdp merged commit ca5793d into sharkdp:master Oct 3, 2020
@AkshatGadhwal
Copy link
Contributor

@adgai19 i am facing trouble while running bash update.sh

/usr/bin/python3
Traceback (most recent call last):
File "create_highlighted_versions.py", line 85, in
create_highlighted_versions(output_basepath=args.output)
File "create_highlighted_versions.py", line 34, in create_highlighted_versions
bat_output = subprocess.check_output(
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'bat'

I get this error. Have you faced this issue??

@adgai19
Copy link
Contributor Author

adgai19 commented Oct 4, 2020

@adgai19 i am facing trouble while running bash update.sh

/usr/bin/python3
Traceback (most recent call last):
File "create_highlighted_versions.py", line 85, in
create_highlighted_versions(output_basepath=args.output)
File "create_highlighted_versions.py", line 34, in create_highlighted_versions
bat_output = subprocess.check_output(
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'bat'

I get this error. Have you faced this issue??

@AkshatGadhwal
No.
Do you have bat installed? If yes than I cannot think of anything that would cause that error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants