OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:writeTmp
(Results
1 - 3
of
3
) sorted by null
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_fileinput.py
20
def
writeTmp
(i, lines, mode='w'): # opening in text mode is the default
36
t1 =
writeTmp
(1, ["Line %s of file 1\n" % (i+1) for i in range(15)])
37
t2 =
writeTmp
(2, ["Line %s of file 2\n" % (i+1) for i in range(10)])
38
t3 =
writeTmp
(3, ["Line %s of file 3\n" % (i+1) for i in range(5)])
39
t4 =
writeTmp
(4, ["Line %s of file 4\n" % (i+1) for i in range(1)])
124
t1 =
writeTmp
(1, [""])
125
t2 =
writeTmp
(2, [""])
126
t3 =
writeTmp
(3, ["The only line there is.\n"])
127
t4 =
writeTmp
(4, [""])
147
t1 =
writeTmp
(1, ["A\nB\nC"])
[
all
...]
/external/python/cpython2/Lib/test/
test_fileinput.py
20
def
writeTmp
(i, lines, mode='w'): # opening in text mode is the default
72
t1 =
writeTmp
(1, ["Line %s of file 1\n" % (i+1) for i in range(15)])
73
t2 =
writeTmp
(2, ["Line %s of file 2\n" % (i+1) for i in range(10)])
74
t3 =
writeTmp
(3, ["Line %s of file 3\n" % (i+1) for i in range(5)])
75
t4 =
writeTmp
(4, ["Line %s of file 4\n" % (i+1) for i in range(1)])
160
t1 =
writeTmp
(1, [""])
161
t2 =
writeTmp
(2, [""])
162
t3 =
writeTmp
(3, ["The only line there is.\n"])
163
t4 =
writeTmp
(4, [""])
183
t1 =
writeTmp
(1, ["A\nB\nC"]
[
all
...]
/external/python/cpython3/Lib/test/
test_fileinput.py
40
def
writeTmp
(self, content, *, mode='w'): # opening in text mode is the default
87
t1 = self.
writeTmp
(''.join("Line %s of file 1\n" % (i+1) for i in range(15)))
88
t2 = self.
writeTmp
(''.join("Line %s of file 2\n" % (i+1) for i in range(10)))
89
t3 = self.
writeTmp
(''.join("Line %s of file 3\n" % (i+1) for i in range(5)))
90
t4 = self.
writeTmp
(''.join("Line %s of file 4\n" % (i+1) for i in range(1)))
185
t1 = self.
writeTmp
("")
186
t2 = self.
writeTmp
("")
187
t3 = self.
writeTmp
("The only line there is.\n")
188
t4 = self.
writeTmp
("")
205
t1 = self.
writeTmp
("A\nB\nC"
[
all
...]
Completed in 2469 milliseconds