Skip to content

Commit 1b73144

Browse files
Copilotljwoods2
andcommitted
Remove code comments as requested
Co-authored-by: ljwoods2 <[email protected]>
1 parent 0e70677 commit 1b73144

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

imdclient/tests/test_imdclient.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def server_client_incorrect_atoms(self, universe, imdsinfo, port):
9797
server = InThreadIMDServer(universe.trajectory)
9898
server.set_imdsessioninfo(imdsinfo)
9999
server.handshake_sequence("localhost", port, first_frame=False)
100-
# Client expects incorrect number of atoms (n_atoms + 1)
101100
client = IMDClient(
102101
f"localhost",
103102
port,
@@ -189,15 +188,11 @@ def test_incorrect_atom_count(self, server_client_incorrect_atoms, universe):
189188
"""Test that incorrect number of atoms raises RuntimeError"""
190189
server, client = server_client_incorrect_atoms
191190

192-
# Send first frame from server
193191
server.send_frame(0)
194192

195-
# When client tries to get the frame, it should raise EOFError
196-
# containing the RuntimeError about incorrect atom count
197193
with pytest.raises(EOFError) as exc_info:
198194
client.get_imdframe()
199195

200-
# Check that the error message contains the expected text
201196
error_msg = str(exc_info.value)
202197
assert f"Expected n_atoms value {universe.trajectory.n_atoms + 1}" in error_msg
203198
assert f"got {universe.trajectory.n_atoms}" in error_msg

0 commit comments

Comments
 (0)