From 8f8368c7a7c51fc7c8d0d97c4dbf0a5cd0ad24cc Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 4 Apr 2024 13:22:00 +0300 Subject: [PATCH] datetime.datetime.fromisoformat('0000W25') --- .github/workflows/test.yml | 21 +-------------------- test.py | 15 +++------------ 2 files changed, 4 insertions(+), 32 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e8be0a..37393c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/test.py b/test.py index 973b1f6..adf553a 100755 --- a/test.py +++ b/test.py @@ -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)