push
github
3967 of 6654 branches covered (0.0%)
1 of 1 new or added line in 1 file covered. (100.0%)
488 existing lines in 27 files now uncovered.12135 of 16966 relevant lines covered (71.53%)
0.72 hits per line
1 |
import six |
1✔ |
2 |
import tempfile |
1✔ |
3 |
|
|
4 |
if six.PY3:
|
|
5 |
from pathlib import * |
1✔ |
6 |
else:
|
|
UNCOV
7
|
from pathlib2 import * |
× |
8 |
|
|
9 |
@classmethod
|
1✔ |
10 |
def mktemp(cls): |
1✔ |
11 |
return cls(tempfile.mktemp())
|
× |
12 |
|
|
13 |
@classmethod
|
1✔ |
14 |
def mkdtemp(cls): |
1✔ |
15 |
return cls(tempfile.mkdtemp())
|
× |
16 |
|
|
17 |
Path.mktemp = mktemp |
1✔ |
18 |
Path.mkdtemp = mkdtemp |
1✔ |