Some of recently added Tkinter tests for `PhotoImage` do not pass if `tkinter.wantobjects=0`, because `PhotoImage.get()` returns a string like `"255 0 0"` instead of a 3-tuple of integers like `(255, 0, 0)`.

Other solution is to make `PhotoImage.get()` always returning a 3-tuple of integers, and it is a correct solution, but I am not sure that it can be backported. It can break the code that uses `tkinter.wantobjects=0` and manually parses the returned string.

<!-- gh-linked-prs -->
### Linked PRs
* gh-119792
* gh-119794
* gh-119798
<!-- /gh-linked-prs -->

Fix new Tkinter tests for wantobjects=0
This is a GitHub Issue
repo:cpython
owner:python
Title : Fix new Tkinter tests for wantobjects=0
Issue date:

--- start body ---
Some of recently added Tkinter tests for `PhotoImage` do not pass if `tkinter.wantobjects=0`, because `PhotoImage.get()` returns a string like `"255 0 0"` instead of a 3-tuple of integers like `(255, 0, 0)`.

Other solution is to make `PhotoImage.get()` always returning a 3-tuple of integers, and it is a correct solution, but I am not sure that it can be backported. It can break the code that uses `tkinter.wantobjects=0` and manually parses the returned string.

<!-- gh-linked-prs -->
### Linked PRs
* gh-119792
* gh-119794
* gh-119798
<!-- /gh-linked-prs -->

--- end body ---
