File tree 5 files changed +8
-8
lines changed
5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Note: This is package is incomplete and still in initial development phase. The
4
4
5
5
Installation
6
6
------------
7
- Requires Python 3.10 +.
7
+ Requires Python 3.12 +.
8
8
9
9
.. code-block :: bash
10
10
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ classifiers = [
10
10
" License :: OSI Approved :: GNU General Public License v3 (GPLv3)" ,
11
11
" Programming Language :: Python :: 3.10" ,
12
12
]
13
- requires-python = " >=3.10 "
13
+ requires-python = " >=3.12 "
14
14
dynamic = [" version" ]
15
15
dependencies = [
16
- " aiohutils >= 0.11 .0" ,
16
+ " aiohutils >= 0.12 .0" ,
17
17
" beautifulsoup4" ,
18
18
" jdatetime" ,
19
19
" lxml" ,
Original file line number Diff line number Diff line change 1
- from aiohutils .tests import init_tests , pytestmark # noqa: F401
1
+ from aiohutils .tests import init_tests
2
2
3
3
init_tests ()
Original file line number Diff line number Diff line change 15
15
string = StringDtype ()
16
16
17
17
18
- def test_repr ():
18
+ def test_repr (aiolib ):
19
19
assert repr (fund ) == 'Fund(11215)'
20
20
assert repr (Fund ('11215' )) == "Fund('11215')"
21
21
@@ -65,7 +65,7 @@ async def test_nav_history():
65
65
async def test_info ():
66
66
info = await fund .info ()
67
67
assert len (info ) >= 63
68
- assert type (info ) is dict
68
+ assert type (info ) is dict # noqa: E721
69
69
70
70
71
71
EXPECTED_INFERRED_DTYPES = {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ async def test_search():
16
16
assert symbols [0 ].l30 == 'كربن\u200c ايران\u200c '
17
17
18
18
19
- def test_symbol_from_name ():
19
+ def test_symbol_from_name (aiolib ):
20
20
assert f'{ Symbol ("فملی" )!r} ' == "Symbol('فملی')"
21
21
22
22
@@ -51,7 +51,7 @@ async def test_symbol_price_data():
51
51
assert type (price_data .pop ('Deven' )) is jdatetime
52
52
for key in ('changepdr' , 'changepc' ):
53
53
assert type (price_data .pop (key )) in (int , float )
54
- assert all (type (v ) is int for v in price_data .values ())
54
+ assert all (type (v ) is int for v in price_data .values ()) # noqa: E721
55
55
56
56
57
57
@file ('BestLimitDataFMelli.html' )
You can’t perform that action at this time.
0 commit comments