If one of the paths given to L{iterSourceCode} is not a directory but a file, it will include that in its output.
(self)
| 210 | sorted([apath, bpath])) |
| 211 | |
| 212 | def test_explicitFiles(self): |
| 213 | """ |
| 214 | If one of the paths given to L{iterSourceCode} is not a directory but |
| 215 | a file, it will include that in its output. |
| 216 | """ |
| 217 | epath = self.makeEmptyFile('e.py') |
| 218 | self.assertEqual(list(iterSourceCode([epath])), |
| 219 | [epath]) |
| 220 | |
| 221 | |
| 222 | class TestReporter(TestCase): |
nothing calls this directly
no test coverage detected