1
0
Fork 0
forked from github/pelican

Drop unsupported Python 3.3

This commit is contained in:
Hugo 2017-10-02 18:33:21 +03:00
commit ce0787f0d3
6 changed files with 5 additions and 10 deletions

View file

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals
import sys
import warnings
from pelican.tests.support import unittest
@ -9,8 +8,6 @@ from pelican.tests.support import unittest
class TestSuiteTest(unittest.TestCase):
@unittest.skipIf(sys.version_info[:2] == (3, 3),
"does not throw an exception on python 3.3")
def test_error_on_warning(self):
with self.assertRaises(UserWarning):
warnings.warn('test warning')