File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -713,10 +713,12 @@ def windows(self) -> QueryList[Window]:
713
713
>>> # Verify window names
714
714
>>> wins1 = [w for w in server.windows if w.session.name == "test_windows1"]
715
715
>>> wins2 = [w for w in server.windows if w.session.name == "test_windows2"]
716
- >>> sorted(w.name for w in wins1)
717
- ['win1', ...]
718
- >>> sorted(w.name for w in wins2)
719
- ['win2', ...]
716
+ >>> # Default window name can vary (bash, zsh), but win1 should be there
717
+ >>> "win1" in [w.name for w in wins1]
718
+ True
719
+ >>> # Default window name can vary, but win2 should be there
720
+ >>> "win2" in [w.name for w in wins2]
721
+ True
720
722
>>> # Clean up
721
723
>>> server.kill_session("test_windows1")
722
724
Server(socket_name=libtmux_test...)
You can’t perform that action at this time.
0 commit comments