• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Gallopsled / pwntools / 38675c90efa18a447722c9953faa3f27c5896764

pending completion
38675c90efa18a447722c9953faa3f27c5896764

push

github-actions

peace-maker
Add pathlib2 to install_requirements for python_version < 3.4

The dynamic addition of the dependency which was used previously wasn't
included in the published egg on pypi.

3877 of 6370 branches covered (60.86%)

12197 of 16604 relevant lines covered (73.46%)

0.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

69.23
/pwnlib/filesystem/path.py
1
import six
1✔
2
import tempfile
1✔
3

4
if six.PY3:
1!
5
    from pathlib import *
×
6
else:
7
    from pathlib2 import *
1✔
8

9
@classmethod
1✔
10
def mktemp(cls):
11
    return cls(tempfile.mktemp())
×
12

13
@classmethod
1✔
14
def mkdtemp(cls):
15
    return cls(tempfile.mkdtemp())
×
16

17
Path.mktemp = mktemp
1✔
18
Path.mkdtemp = mkdtemp
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc