Thanks to visit codestin.com
Credit goes to github.com

Skip to content

LocalOperations::get_single_instance is added #252

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

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
flake8
  • Loading branch information
dmitry-lipetsk committed May 5, 2025
commit d3167b0ba2ab8d0e729aa49d0a7ec9b13ce4516b
2 changes: 1 addition & 1 deletion testgres/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def _get_port_manager(os_ops: OsOperations) -> PortManager:

if os_ops is LocalOperations.get_single_instance():
assert utils._old_port_manager is not None
assert type(utils._old_port_manager) == PortManager__Generic
assert type(utils._old_port_manager) == PortManager__Generic # noqa: E721
assert utils._old_port_manager._os_ops is os_ops
return PortManager__ThisHost.get_single_instance()

Expand Down