Revert "Skip execution of filename encoding test on Py3"
This reverts commit 26c730fc7e
.
This commit is contained in:
parent
26c730fc7e
commit
42852af25d
|
@ -12,7 +12,7 @@ import contextlib2 as contextlib
|
|||
import fixtures
|
||||
import linecache2 as linecache
|
||||
import six
|
||||
from six import PY2, b, text_type, u
|
||||
from six import b, text_type, u
|
||||
try:
|
||||
from six import raise_from
|
||||
except ImportError:
|
||||
|
@ -607,7 +607,6 @@ class TestStack(unittest.TestCase):
|
|||
[' File "foo.py", line 1, in fred\n line\n'],
|
||||
s.format())
|
||||
|
||||
@unittest.skipUnless(PY2, "Applies to 2.x only.")
|
||||
@unittest.skipIf(sys.getfilesystemencoding()=='ANSI_X3.4-1968',
|
||||
'Requires non-ascii fs encoding')
|
||||
def test_format_unicode_filename(self):
|
||||
|
@ -652,7 +651,7 @@ class TestStack(unittest.TestCase):
|
|||
traceback.walk_stack(None), capture_locals=True, limit=1)
|
||||
s = some_inner(3, 4)
|
||||
self.assertEqual(
|
||||
[' File "' + FNAME + '", line 652, '
|
||||
[' File "' + FNAME + '", line 651, '
|
||||
'in some_inner\n'
|
||||
' traceback.walk_stack(None), capture_locals=True, limit=1)\n'
|
||||
' a = 1\n'
|
||||
|
|
Loading…
Reference in New Issue