Thomas Waldmann
fc52101d46
suppress unneeded exception context (PEP 409)
2016-01-24 15:36:04 +01:00
Thomas Waldmann
fe8762ad28
os.utime on py 3.4+ always supports fd and follow_symlinks
2016-01-24 15:16:05 +01:00
Thomas Waldmann
265da6286f
remove conditionals/wrappers, we always have stat nanosecond support on 3.4+
...
also: no wrapper needed for binascii.unhexlify any more
2016-01-24 15:16:05 +01:00
Thomas Waldmann
36900051c5
move test utilities to testsuite package, add FakeInputs utility
2015-11-01 19:13:45 +01:00
Thomas Waldmann
f7d724ce33
tests: only use mtime once in directory comparison tuples
2015-10-26 01:37:28 +01:00
Thomas Waldmann
375717c095
tests: work around strange mtime granularity issue on netbsd, fixes #204
...
not sure where the problem is:
it seems to announce it supports st_mtime_ns, but if one uses it and
has a file with ...123ns, i t gets restored as ...000ns.
Then I tried setting st_mtime_ns_round to -3, but it still failed with +1000ns difference.
Maybe rounding is incorrect and it should be truncating?
Issue with granularity could be in python, in netbsd (netbsd platform code), in ffs filesystem, ...
2015-09-18 00:02:44 +02:00
Thomas Waldmann
48634d4e96
tests: ignore st_rdev if file is not a block/char device, fixes #203
2015-09-17 22:41:49 +02:00
Thomas Waldmann
40801d74a6
remove old unittest discover / runner code, we use py.test now
2015-08-08 19:03:37 +02:00
Thomas Waldmann
0580f2b4eb
style and cosmetic fixes, no semantic changes
...
use simpler super() syntax of python 3.x
remove fixed errors/warnings' codes from setup.cfg flake8 configuration
fix file exclusion list for flake8
2015-07-11 18:31:49 +02:00
Thomas Waldmann
5e98400a5a
fix all references to package name
...
use relative imports if possible
reorder imports (1. stdlib 2. dependencies 3. borg 4. borg.testsuite)
2015-05-22 19:21:41 +02:00
Thomas Waldmann
78bfc58b47
rename package directory to borg
2015-05-22 17:48:54 +02:00