Support running doctests in Python 2 and Python 3
Bug #1455727 reported by
Ben Finney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pylockfile |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The doctests for ‘lockfile’ were originally written only for Python 2, and fail under Python 3.
Now that ‘lockfile’ claims to support both Python 2 and Python 3, its doctests need to be updated so they will pass under both Python languages.
The attached patch modifies the doctests to pass when run under Python 2 and under Python 3.
To post a comment you must log in.
pylockfile has been retired. We won't be making any more updates to it. See the fasteners library for a supported alternative.