Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

Commit b084d86

Browse files
committed
Just Python 2.7 until I can make the Travis jobs not clobber each other.
1 parent 8450b1e commit b084d86

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: python
22
python:
3-
- '2.6'
43
- '2.7'
54
install:
65
- pip install -r requirements.txt --use-mirrors

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_random_string(length=6):
2626
"""
2727
Generate a random string of letters and numbers
2828
"""
29-
return ''.join(random.choice(string.letters + string.digits) for i in xrange(length))
29+
return unicode(''.join(random.choice(string.letters + string.digits) for i in xrange(length)))
3030

3131
PANGRAMS = {
3232
'en': 'The quick brown fox jumps over the lazy dog.',

0 commit comments

Comments
 (0)