Skip to content

Commit d848042

Browse files
committedSep 26, 2015
Test invariance with Python 3.5
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 5e5bdfd commit d848042

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎tests/test_integration.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,8 @@ def fill_site(self):
528528
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))
529529
def test_invariance(self):
530530
"""Compare the output to the canonical output."""
531-
if sys.version_info[0:2] != (2, 7):
532-
pytest.skip('only python 2.7 is supported right now')
531+
if sys.version_info[0:2] != (3, 5):
532+
pytest.skip('only python 3.5 is supported for invariance')
533533
good_path = os.path.join(os.path.dirname(__file__), 'data', 'baseline{0[0]}.{0[1]}'.format(sys.version_info))
534534
if not os.path.exists(good_path):
535535
pytest.skip('no baseline found')

0 commit comments

Comments
 (0)
Please sign in to comment.