Skip to content

Commit 9f2b935

Browse files
committed
remove from __future__ import unicode_literals
This is effectively a no-op in all supported python versions
1 parent 26b40d1 commit 9f2b935

12 files changed

Lines changed: 0 additions & 21 deletions

tests/test_block.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import unicode_literals
2-
31
import textile
42
from textile.objects import Block
53

tests/test_github_issues.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
3-
42
import textile
53

64

tests/test_textile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
import pytest
43
import re
54
import textile

tests/test_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
3-
42
from textile import utils
53

64

tests/test_values.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
import textile
43
import pytest
54

textile/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import unicode_literals
2-
31
from .core import textile, textile_restricted, Textile # noqa: F401
42
from .version import VERSION
53

textile/core.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
3-
42
__copyright__ = """
53
Copyright (c) 2009, Jason Samsa, http://jsamsa.com/
64
Copyright (c) 2010, Kurt Raschke <kurt@kurtraschke.com>

textile/objects/block.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
3-
42
from collections import OrderedDict
53
try:
64
import regex as re

textile/objects/table.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
3-
42
from xml.etree import ElementTree
53

64
from textile.regex_strings import (align_re_s, cls_re_s, regex_snippets,

textile/regex_strings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
3-
42
try:
53
# Use regex module for matching uppercase characters if installed,
64
# otherwise fall back to finding all the uppercase chars in a loop.

0 commit comments

Comments
 (0)