File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Markdown>=2.4.0
3
3
Jinja2>=2.7.2
4
4
pyphen>=0.9.1
5
5
micawber>=0.3.0
6
- pygal== 2.0.6
6
+ pygal>= 2.0.0
7
7
typogrify>=2.0.4
8
8
phpserialize>=1.3
9
9
webassets>=0.10.1
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
cd tests/data
3
3
for i in $@ ; do
4
- if [[ $i == ' 3.5' ]]; then
5
- # we only support 3.5 now
4
+ if [[ $i == ' 3.5' || $i == ' 2.7 ' ]]; then
5
+ # we only support 2.7 and 3.5
6
6
wget https://github.com/getnikola/invariant-builds/archive/v$i ' .zip'
7
7
unzip ' v' $i ' .zip'
8
8
rm -rf baseline$i
Original file line number Diff line number Diff line change @@ -525,11 +525,11 @@ def fill_site(self):
525
525
src1 = os .path .join (os .path .dirname (__file__ ), 'data' , '1-nolinks.rst' )
526
526
dst1 = os .path .join (self .target_dir , 'posts' , '1.rst' )
527
527
shutil .copy (src1 , dst1 )
528
- os .system ('rm "{0}/stories/creating-a-theme.rst" "{0}/stories/extending.txt" "{0}/stories/internals.txt" "{0}/stories/manual.rst" "{0}/stories/social_buttons.txt" "{0}/stories/theming.rst" "{0}/stories/path_handlers.txt"' .format (self .target_dir ))
528
+ os .system ('rm "{0}/stories/creating-a-theme.rst" "{0}/stories/extending.txt" "{0}/stories/internals.txt" "{0}/stories/manual.rst" "{0}/stories/social_buttons.txt" "{0}/stories/theming.rst" "{0}/stories/path_handlers.txt" "{0}/stories/charts.txt" ' .format (self .target_dir ))
529
529
def test_invariance (self ):
530
530
"""Compare the output to the canonical output."""
531
- if sys .version_info [0 :2 ] != (3 , 5 ):
532
- pytest .skip ('only python 3.5 is supported for invariance' )
531
+ if sys .version_info [0 :2 ] != (2 , 7 ):
532
+ pytest .skip ('only python 2.7 is supported for invariance' )
533
533
good_path = os .path .join (os .path .dirname (__file__ ), 'data' , 'baseline{0[0]}.{0[1]}' .format (sys .version_info ))
534
534
if not os .path .exists (good_path ):
535
535
pytest .skip ('no baseline found' )
You can’t perform that action at this time.
0 commit comments