diff --git a/dpaste/tests/test_highlight.py b/dpaste/tests/test_highlight.py index d6879c8..8dc5698 100644 --- a/dpaste/tests/test_highlight.py +++ b/dpaste/tests/test_highlight.py @@ -14,8 +14,8 @@ class HighlightAPITestCase(TestCase): """ PLAIN_CODE is not run through Pygments, test it separately. """ - input = 'var' - expected = 'var' + input = 'vär' + expected = 'vär' value = PlainCodeHighlighter().highlight(input) self.assertEqual(value, expected) @@ -23,8 +23,8 @@ class HighlightAPITestCase(TestCase): """ Whitespace on the first line is retained. """ - input = ' var=1' - expected = ' var=1' + input = ' vär=1' + expected = ' vär=1' value = PlainCodeHighlighter().highlight(input) self.assertEqual(value, expected) @@ -32,15 +32,15 @@ class HighlightAPITestCase(TestCase): """ Whitespace on the first line is retained, also on subsequent lines. """ - input = (' var=1\n' - ' var=2\n' - ' var=3\n' - ' var=4') + input = (' vär=1\n' + ' vär=2\n' + ' vär=3\n' + ' vär=4') expected = ( - ' var=1\n' - ' var=2\n' - ' var=3\n' - ' var=4') + ' vär=1\n' + ' vär=2\n' + ' vär=3\n' + ' vär=4') value = PlainCodeHighlighter().highlight(input) self.assertEqual(value, expected) diff --git a/setup.py b/setup.py index d640da3..909cdf4 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ setup( 'Programming Language :: Python :: 3', 'Framework :: Django', ], + python_requires='>=3.4', packages=find_packages(), package_data={ 'dpaste': ['static/*.*', 'templates/*.*'], diff --git a/tox.ini b/tox.ini index c64f9ce..f53ac5b 100644 --- a/tox.ini +++ b/tox.ini @@ -3,8 +3,7 @@ toxworkdir=/tmp/tox/dpaste skip_missing_interpreters=True envlist= coverage_setup - py{34,35,36}-django-{111} - py{34,35,36}-django-{20} + py{34,35,36}-django-{111,20} coverage_report [testenv]