Home | History | Annotate | Download | only in test_tkinter

Lines Matching refs:testfile

27         cls.testfile = support.findfile('python.xbm', subdir='imghdrdata')
32 file=self.testfile)
42 with open(self.testfile, 'rb') as f:
62 with open(self.testfile, 'rb') as f:
78 image.configure(file=self.testfile)
80 ('-file', '', '', '',self.testfile))
85 image.configure(maskfile=self.testfile)
87 ('-maskfile', '', '', '', self.testfile))
109 cls.testfile = support.findfile('python.gif', subdir='imghdrdata')
113 file=self.testfile)
122 testfile = support.findfile('python.' + ext, subdir='imghdrdata')
124 file=testfile)
130 self.assertEqual(image['file'], testfile)
136 testfile = support.findfile('python.' + ext, subdir='imghdrdata')
137 with open(testfile, 'rb') as f:
181 with open(self.testfile, 'rb') as f:
192 image.configure(file=self.testfile, format='gif')
201 image.configure(file=self.testfile)
202 self.assertEqual(image['file'], self.testfile)