Remove Python 2.7 support.

This commit is contained in:
Christopher Charbonneau Wells 2017-12-03 16:58:53 -05:00
parent 8b98a60ad1
commit 238d0d40a1
3 changed files with 2 additions and 9 deletions

View File

@ -6,7 +6,6 @@ cache:
directories:
- node_modules
python:
- 2.7
- 3.4
- 3.5
- 3.6

View File

@ -158,7 +158,7 @@ and then uploaded to a server.
#### Requirements
- Python 2.7+, pip, pipenv
- Python 3.4+, pip, pipenv
- Web server ([nginx](http://nginx.org/), [Apache](http://httpd.apache.org/), etc.)
- Application server ([uwsgi](http://projects.unbit.it/uwsgi), [gunicorn](http://gunicorn.org/), etc.)
- Database ([sqlite](https://sqlite.org/), [Postgres](https://www.postgresql.org/), [MySQL](https://www.mysql.com/), etc.)
@ -352,7 +352,7 @@ for all possible values.
### Requirements
- Python 2.7+, pip, pipenv
- Python 3.4+, pip, pipenv
- NodeJS 8.x and NPM 5.x
- Gulp

View File

@ -5,8 +5,6 @@ from django.contrib.auth.models import User
from django.test import TestCase, override_settings
from django.utils import timezone
import six
from core import models
from dashboard.templatetags import cards
@ -117,10 +115,6 @@ class TemplateTagsTestCase(TestCase):
}
]
# Python 2 comes up with a slightly different number for one record.
if six.PY2:
stats[0]['stat'] = timezone.timedelta(0, 44228, 571428)
self.assertEqual(data['stats'], stats)
def test_card_timer_list(self):