Skip to content

Commit

Permalink
Merge 2a0359e into 4bd868d
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawayria committed Jul 19, 2021
2 parents 4bd868d + 2a0359e commit b14e513
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
- TOXENV=django22
- TOXENV=django30
- TOXENV=django31
- TOXENV=django32
cache:
directories:
- $HOME/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion i18n/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from . import config

__version__ = '0.5.4'
__version__ = '0.6.0'


class Runner:
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ def is_requirement(line):
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.8',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
],
)
2 changes: 1 addition & 1 deletion tests/test_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ def test_converter(self, data):
"""
source, expected = data
result = UpcaseConverter().convert(source)
self.assertEquals(result, expected)
self.assertEqual(result, expected)
2 changes: 1 addition & 1 deletion tests/test_dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def assertUnicodeEquals(self, str1, str2):
things safe.
"""
self.assertEquals(
self.assertEqual(
str1, str2,
"Mismatch: %r != %r" % (str1, str2),
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_transifex.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ def test_clean_locale(self):
transifex.clean_locale(self.configuration, 'fr')
self.assertEqual(12, patched.call_count)
for callarg in patched.call_args_list:
self.assertRegexpMatches(callarg[0][1].name, r'.*\.po')
self.assertRegex(callarg[0][1].name, r'.*\.po')
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{22,30,31}, quality
envlist = py38-django{22,30,31,32}, quality

[pytest]
addopts = --cov=tests --cov-report term --cov-config=.coveragerc -p no:randomly
Expand All @@ -10,6 +10,7 @@ deps =
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0
-r requirements/test.txt
commands = pytest {posargs}

Expand Down

0 comments on commit b14e513

Please sign in to comment.