Skip to content

Commit 09b2a80

Browse files
committed
PEP 8 empty lines
1 parent aac672c commit 09b2a80

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Lib/test/test_os/test_encoding.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from platform import win32_is_iot
1212
from test.support import os_helper
1313

14+
1415
@unittest.skipIf(sys.platform == "win32", "Posix specific tests")
1516
class Pep383Tests(unittest.TestCase):
1617
def setUp(self):
@@ -85,6 +86,7 @@ def test_stat(self):
8586
for fn in self.unicodefn:
8687
os.stat(os.path.join(self.dir, fn))
8788

89+
8890
class FSEncodingTests(unittest.TestCase):
8991
def test_nop(self):
9092
self.assertEqual(os.fsencode(b'abc\xff'), b'abc\xff')
@@ -100,7 +102,6 @@ def test_identity(self):
100102
self.assertEqual(os.fsdecode(bytesfn), fn)
101103

102104

103-
104105
class DeviceEncodingTests(unittest.TestCase):
105106

106107
def test_bad_fd(self):
@@ -111,7 +112,7 @@ def test_bad_fd(self):
111112
(hasattr(locale, 'nl_langinfo') and hasattr(locale, 'CODESET'))),
112113
'test requires a tty and either Windows or nl_langinfo(CODESET)')
113114
def test_device_encoding(self):
114-
encoding = os.device_encoding(0)
115+
ncoding = os.device_encoding(0)
115116
self.assertIsNotNone(encoding)
116117
self.assertTrue(codecs.lookup(encoding))
117118

0 commit comments

Comments
 (0)