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

fix: Handle null term char #394

Merged
merged 3 commits into from
Oct 9, 2023

Conversation

jonyscathe
Copy link
Contributor

For tcpip connection, handle when termination char is \0 rather than \n or \r.

Closes #393

For tcpip connection, handle when termination char is \0 rather than
\n or \r.
@codecov
Copy link

codecov bot commented Sep 24, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (main@7e6225d). Click here to learn what that means.

❗ Current head de149aa differs from pull request most recent head 51b43e3. Consider uploading reports for the commit 51b43e3 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #394   +/-   ##
=======================================
  Coverage        ?   23.02%           
=======================================
  Files           ?       23           
  Lines           ?     3318           
  Branches        ?      457           
=======================================
  Hits            ?      764           
  Misses          ?     2537           
  Partials        ?       17           
Flag Coverage Δ
unittests 23.02% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
pyvisa_py/tcpip.py 20.47% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MatthieuDartiailh
Copy link
Member

Can you add an entry to the changelog and I will merge ?

@jonyscathe
Copy link
Contributor Author

Anything else needed on this PR?

@MatthieuDartiailh MatthieuDartiailh merged commit 79fd091 into pyvisa:main Oct 9, 2023
10 checks passed
@MatthieuDartiailh
Copy link
Member

Sorry it went out of my radar.

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.

Not handling NULL terminator for TCPIP
2 participants