source: test/test_stat.py

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @1718:8bed138bc404   22 months sschwarzer Don't inherit from `object` This is no longer needed because we're ...
(edit) @1713:f146a1ea66aa   22 months sschwarzer Remove `__future__` imports With the switch to Python 3.x-only, the ...
(edit) @1666:afa733e4a84d   3 years sschwarzer Use directory entry with fixed year See [b5f33ec89ec0] for the reasoning.
(edit) @1665:b5f33ec89ec0   3 years sschwarzer Fix `test_stat.TestLstatAndStat.test_repr` The directory entry line ...
(edit) @1663:40280d912474   4 years sschwarzer Remove `unittest` dependency - Remove `unittest` imports - Let test ...
(edit) @1660:93ea351f922b   4 years sschwarzer Remove `unittest.main` calls Since we now use pytest as test runner ...
(edit) @1655:d66da25dc032   4 years sschwarzer Adapt `test_stat.py` for pytest ticket: 98
(edit) @1635:e7a19b88c541   5 years sschwarzer Add TODO comment See also changeset 0b722dda197d.
(edit) @1634:0b722dda197d   5 years sschwarzer Fix `TestLstatAndStat.test_repr` Probably due to a DST change, the ...
(edit) @1625:c84dd64b3eea   5 years sschwarzer Add `__repr__` so that a `StatResult` looks like a named tuple (#91) ...
(edit) @1579:7146d114d459   6 years sschwarzer Use `UNKNOWN_PRECISION` for pre-epoch datetimes.
(edit) @1578:bca0ec28c76c   6 years sschwarzer Move tests for valid unix lines before tests for invalid lines.
(edit) @1577:eebe89a0505b   6 years sschwarzer Small formatting change for sole `]` for closing a list.
(edit) @1576:f2998542a221   6 years sschwarzer Use named constants for datetime precisions. In unit tests, ...
(edit) @1574:b3b06ecffc0a   6 years sschwarzer Added a test for MS parser for pre-epoch years (see ticket #83).
(edit) @1573:663b036bb8f7   6 years sschwarzer Use more specific error handling when parsing datetimes.
(edit) @1572:79363bf644de   6 years sschwarzer Raise a `ParserError` if the day value isn't an integer.
(edit) @1571:2d21406a6d7f   6 years sschwarzer Fix error handling for invalid datetime components (e. g. day == 32).
(edit) @1569:20521872d3ff   6 years sschwarzer Use more straightforward tests for datetimes before the epoch.
(edit) @1567:3cf705ab8011   6 years Philippe Ombredanne Fix for ticket #83 Catch errors from mktime and use the epoch and a ...
(edit) @1564:c5b353a1c23d   6 years sschwarzer List contributors in `doc/contributors.txt`. So far, individual files ...
(edit) @1542:e9d24222f45e   6 years sschwarzer Added test for parsing the unix mode "----------". This "always" ...
(edit) @1455:65b33e7b4287   7 years sschwarzer Merged in changes made on warpy.
(edit) @1450:6b36c4505547   7 years sschwarzer Added test to check fix in revision 513437662176.
(edit) @1448:b17b6f2108db   7 years sschwarzer Renamed `test_stat` function to avoid confusing py.test.
(edit) @1343:bcadc5b1504f   7 years sschwarzer Use double quotes (") for strings. I used to have a rule to put ...
(edit) @1259:474bef8aec9d   7 years sschwarzer Cleaned up `test_stat.py`.
(edit) @1219:14f5a485635c   8 years sschwarzer Import `unicode_literals`.
(edit) @1205:0eba346a99e5   8 years sschwarzer Processed tests and `setup.py` with `2to3` and fixed a few things. ...
(edit) @1196:04acdc17fd70   8 years sschwarzer Use modern string formatting with `format` method.
(edit) @1194:29b0cda2b042   8 years sschwarzer Use `except ExceptionClass as exc` for future Python 3 compatibility.
(add) @1187:08c3d37b6a5f   8 years sschwarzer Simplified module names (`ftputil.ftp_xyz` -> `ftputil.xyz`).
Note: See TracRevisionLog for help on using the revision log.