Skip to content

Commit b37beaa

Browse files
Remove the filedialog test cases
1 parent 1a24856 commit b37beaa

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎stdlib/@tests/test_cases/check_tkinter.py‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import sys
44
import tkinter
5-
import tkinter.filedialog
65
import traceback
76
import types
87
from typing_extensions import assert_type
@@ -72,9 +71,3 @@ def foo(x: int, y: str) -> None:
7271
t.count("1.0", "2.3", "indices", "lines", "chars", "ypixels", return_ints=True), tuple[int, ...]
7372
) # (15, 1, 15, 19)
7473
assert_type(t.count("2.3", "2.3", "indices", "lines", "chars", "ypixels", return_ints=True), tuple[int, ...]) # (0, 0, 0, 0)
75-
76-
77-
# Cancelling a dialog gives an empty string or an empty tuple, depending on the Tk version.
78-
assert_type(tkinter.filedialog.askopenfilename(), str | tuple[()])
79-
assert_type(tkinter.filedialog.asksaveasfilename(), str | tuple[()])
80-
assert_type(tkinter.filedialog.askdirectory(), str | tuple[()])

0 commit comments

Comments
 (0)