Lines Matching full:join
125 tester('ntpath.join("")', '')
126 tester('ntpath.join("", "", "")', '')
127 tester('ntpath.join("a")', 'a')
128 tester('ntpath.join("/a")', '/a')
129 tester('ntpath.join("\\a")', '\\a')
130 tester('ntpath.join("a:")', 'a:')
131 tester('ntpath.join("a:", "\\b")', 'a:\\b')
132 tester('ntpath.join("a", "\\b")', '\\b')
133 tester('ntpath.join("a", "b", "c")', 'a\\b\\c')
134 tester('ntpath.join("a\\", "b", "c")', 'a\\b\\c')
135 tester('ntpath.join("a", "b\\", "c")', 'a\\b\\c')
136 tester('ntpath.join("a", "b", "\\c")', '\\c')
137 tester('ntpath.join("d:\\", "\\pleep")', 'd:\\pleep')
138 tester('ntpath.join("d:\\", "a", "b")', 'd:\\a\\b')
140 tester("ntpath.join('', 'a')", 'a')
141 tester("ntpath.join('', '', '', '', 'a')", 'a')
142 tester("ntpath.join('a', '')", 'a\\')
143 tester("ntpath.join('a', '', '', '', '')", 'a\\')
144 tester("ntpath.join('a\\', '')", 'a\\')
145 tester("ntpath.join('a\\', '', '', '', '')", 'a\\')
146 tester("ntpath.join('a/', '')", 'a/')
148 tester("ntpath.join('a/b', 'x/y')", 'a/b\\x/y')
149 tester("ntpath.join('/a/b', 'x/y')", '/a/b\\x/y')
150 tester("ntpath.join('/a/b/', 'x/y')", '/a/b/x/y')
151 tester("ntpath.join('c:', 'x/y')", 'c:x/y')
152 tester("ntpath.join('c:a/b', 'x/y')", 'c:a/b\\x/y')
153 tester("ntpath.join('c:a/b/', 'x/y')", 'c:a/b/x/y')
154 tester("ntpath.join('c:/', 'x/y')", 'c:/x/y')
155 tester("ntpath.join('c:/a/b', 'x/y')", 'c:/a/b\\x/y')
156 tester("ntpath.join('c:/a/b/', 'x/y')", 'c:/a/b/x/y')
157 tester("ntpath.join('//computer/share', 'x/y')", '//computer/share\\x/y')
158 tester("ntpath.join('//computer/share/', 'x/y')", '//computer/share/x/y')
159 tester("ntpath.join('//computer/share/a/b', 'x/y')", '//computer/share/a/b\\x/y')
161 tester("ntpath.join('a/b', '/x/y')", '/x/y')
162 tester("ntpath.join('/a/b', '/x/y')", '/x/y')
163 tester("ntpath.join('c:', '/x/y')", 'c:/x/y')
164 tester("ntpath.join('c:a/b', '/x/y')", 'c:/x/y')
165 tester("ntpath.join('c:/', '/x/y')", 'c:/x/y')
166 tester("ntpath.join('c:/a/b', '/x/y')", 'c:/x/y')
167 tester("ntpath.join('//computer/share', '/x/y')", '//computer/share/x/y')
168 tester("ntpath.join('//computer/share/', '/x/y')", '//computer/share/x/y')
169 tester("ntpath.join('//computer/share/a', '/x/y')", '//computer/share/x/y')
171 tester("ntpath.join('c:', 'C:x/y')", 'C:x/y')
172 tester("ntpath.join('c:a/b', 'C:x/y')", 'C:a/b\\x/y')
173 tester("ntpath.join('c:/', 'C:x/y')", 'C:/x/y')
174 tester("ntpath.join('c:/a/b', 'C:x/y')", 'C:/a/b\\x/y')
180 tester("ntpath.join(%r, %r)" % (x, y), y)
182 tester("ntpath.join('\\\\computer\\share\\', 'a', 'b')", '\\\\computer\\share\\a\\b')
183 tester("ntpath.join('\\\\computer\\share', 'a', 'b')", '\\\\computer\\share\\a\\b')
184 tester("ntpath.join('\\\\computer\\share', 'a\\b')", '\\\\computer\\share\\a\\b')
185 tester("ntpath.join('//computer/share/', 'a', 'b')", '//computer/share/a\\b')
186 tester("ntpath.join('//computer/share', 'a', 'b')", '//computer/share\\a\\b')
187 tester("ntpath.join('//computer/share', 'a/b')", '//computer/share\\a/b')
485 self.assertEqual(self.path.join('a', self.PathLike('b'), 'c'),
486 self.path.join('a', 'b', 'c'))