Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
f7243582
Commit
f7243582
authored
May 16, 2015
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix UTF-8 test case for all Python versions.
parent
547c4bce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
test/TodoFileTest.py
test/TodoFileTest.py
+2
-3
No files found.
test/TodoFileTest.py
View file @
f7243582
#-*- coding: utf-8 -*-
# Topydo - A todo.txt client written in Python.
# Copyright (C) 2014 Bram Schoenmakers <me@bramschoenmakers.nl>
#
...
...
@@ -16,6 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
six
import
u
import
unittest
from
test.TestFacilities
import
load_file
...
...
@@ -30,7 +29,7 @@ class TodoFileTest(TopydoTest):
def
test_utf_8
(
self
):
todofile
=
load_file
(
'test/data/utf-8.txt'
)
self
.
assertEqual
(
todofile
[
0
].
source
(),
u
'(C) ► UTF-8 test ◄'
)
self
.
assertEqual
(
todofile
[
0
].
source
(),
u
(
'(C)
\
u25ba
UTF-8 test
\
u25c4
'
)
)
if
__name__
==
'__main__'
:
unittest
.
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment