Skip to content

Commit

Permalink
datetime.datetime.fromisoformat('0000W25')
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Apr 4, 2024
1 parent 8e30681 commit 8f8368c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 32 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,8 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install -U pip
python3 -m pip install -U pytest
python3 -m pip install -U tqdm
python3 -m pip install -vvv coverage>=7.4.2
- name: Test
run: |
python --version
python --version --version
python test.py
python -m pip --version
jq --version
- name: pip cache dir
run: |
python -m pip cache dir
- name: "Non-Windows: pip cache dir > /dev/null"
if: "!startsWith(matrix.os, 'windows')"
run: |
python -m pip cache dir > /dev/null
- name: "Windows: pip cache dir > NUL"
if: "startsWith(matrix.os, 'windows')"
run: |
python -m pip cache dir > NUL
15 changes: 3 additions & 12 deletions test.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
#!/usr/bin/env python
import sys
import datetime

from tqdm import tqdm

print(123)

print(sys.version)

for i in tqdm(range(1000)):
pass

print("My PIN is 1234")
y = datetime.datetime.fromisoformat("0000W25")
print(y)

0 comments on commit 8f8368c

Please sign in to comment.