File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11# simple-wait
22Simple wait
33
4- [ ![ Run tests] ( https://github.com/gil9red/simple-wait/actions/workflows/run-tests.yml/badge.svg )] ( https://github.com/gil9red/simple-wait/actions/workflows/run-tests.yml )
5- [ ![ Upload Python Package] ( https://github.com/gil9red/simple-wait/actions/workflows/python-publish.yml/badge.svg )] ( https://github.com/gil9red/simple-wait/actions/workflows/python-publish.yml )
4+ [ ![ tests] ( https://github.com/gil9red/simple-wait/actions/workflows/run-tests.yml/badge.svg )] ( https://github.com/gil9red/simple-wait/actions/workflows/run-tests.yml )
5+ [ ![ upload to pypi] ( https://github.com/gil9red/simple-wait/actions/workflows/python-publish.yml/badge.svg )] ( https://github.com/gil9red/simple-wait/actions/workflows/python-publish.yml )
6+ [ ![ pypi] ( https://img.shields.io/pypi/v/simple-wait.svg )] ( https://pypi.org/project/simple-wait/ )
7+ ![ pypi python versions] ( https://img.shields.io/pypi/pyversions/simple-wait.svg )
8+ [ ![ image] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://pypi.org/project/black/ )
9+ [ ![ License] ( https://img.shields.io/badge/license-MIT-black.svg )] ( https://opensource.org/licenses/MIT )
610
11+ Example:
712``` python
813from datetime import datetime
914from simple_wait import wait
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ authors = [
77description = " Simple wait"
88readme = " README.md"
99license = { file = " LICENSE.txt" }
10- requires-python = " >=3.10 "
10+ requires-python = " >=3.9 "
1111classifiers = [
1212 " Programming Language :: Python :: 3" ,
1313 " License :: OSI Approved :: MIT License" ,
Original file line number Diff line number Diff line change 22# -*- coding: utf-8 -*-
33
44__author__ = "ipetrash"
5- __version__ = "1.0.6 "
5+ __version__ = "1.0.7 "
66
77
88import sys
Original file line number Diff line number Diff line change @@ -76,9 +76,7 @@ def test_wait(self):
7676
7777 log .seek (0 )
7878 lines = [
79- line .strip ()
80- for line in log .readlines ()
81- if "Time left to wait" in line
79+ line .strip () for line in log .readlines () if "Time left to wait" in line
8280 ]
8381 self .assertTrue (lines )
8482 self .assertTrue (len (lines ) > 1 )
You can’t perform that action at this time.
0 commit comments