8000 Infra: Prepare for moving PEPs to a subfolder by AA-Turner · Pull Request #3417 · python/peps · GitHub
[go: up one dir, main page]

Skip to content

Infra: Prepare for moving PEPs to a subfolder #3417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 3, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
tests
  • Loading branch information
AA-Turner committed Sep 3, 2023
commit 8247cea9984ecfbfc92ebf3625a485372afdc011
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import datetime as dt

from pep_sphinx_extensions.pep_processor.transforms import pep_footer

from ...conftest import PEP_ROOT
Expand Down Expand Up @@ -31,4 +33,4 @@ def test_get_last_modified_timestamps():

assert len(out) >= 585
# Should be a Unix timestamp and at least this
assert out["pep-0008.txt"] >= 1643124055
assert dt.datetime.fromisoformat(out["pep-0008"]).timestamp() >= 1643124055
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_pep_repr():

def test_pep_less_than():
pep8 = parser.PEP(PEP_ROOT / "pep-0008.txt")
pep3333 = parser.PEP(PEP_ROOT / "pep-3333.rst")
pep3333 = parser.PEP(PEP_ROOT / "pep-3333.txt")

assert pep8 < pep3333

Expand Down
0