Skip to content

Commit 019d8bb

Browse files
one more file access fix; and bump version
1 parent 6af368a commit 019d8bb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/mplfinance/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version_info = (0, 12, 3, 'alpha', 3)
1+
version_info = (0, 12, 3, 'alpha', 5)
22

33
_specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''}
44

tests/conftest.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import pytest
2-
import os as os
3-
import pandas as pd
2+
import os
3+
import pandas as pd
4+
import os.path
45

56
os.environ['MPLBACKEND'] = 'agg'
67

78
print('\npd.__version__ =',pd.__version__ ) # for the record
89

9-
df = pd.read_csv('examples/data/SPY_20110701_20120630_Bollinger.csv',index_col=0,parse_dates=True)
10+
infile = os.path.join('examples','data','SPY_20110701_20120630_Bollinger.csv')
11+
df = pd.read_csv(infile,index_col=0,parse_dates=True)
1012
print('df.shape=' , df.shape )
1113
print('df.head(3)=', df.head(3))
1214
print('df.tail(3)=', df.tail(3))

0 commit comments

Comments
 (0)