Skip to content

Commit 4919d59

Browse files
author
Josh Owen
committed
changes for tests
1 parent fe03258 commit 4919d59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

robots/tests/tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# coding=utf-8
22

3-
# todo On Django 1.4 change testcase to django.test.SimpleTestCase
4-
from django.utils import unittest
3+
import unittest
54

65
from robots.utils import clean_pattern, join_patterns, create_rules
76

robots/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
try:
66
# Python 3
77
from urllib.parse import quote, unquote
8+
unichr = chr
89
except ImportError:
910
# Python 2
1011
from urllib import quote, unquote

0 commit comments

Comments
 (0)