Skip to content

Commit

Permalink
some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Monson committed Oct 11, 2018
1 parent 4a8d9ee commit 84e11fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Lib/test/pickletester.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import functools
import pickle
import pickletools
import platform
import struct
import sys
import unittest
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_import/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def test_trailing_slash(self):
unload("test_trailing_slash")

# Regression test for http://bugs.python.org/issue3677.
#@unittest.skipUnless(sys.platform.startswith('win') and not platform.win32_editionId() == 'NanoServer', 'Windows-specific')
@unittest.skipUnless(sys.platform.startswith('win'), 'Windows-specific')
def test_UNC_path(self):
with open(os.path.join(self.path, 'test_unc_path.py'), 'w') as f:
f.write("testdata = 'test_unc_path'")
Expand Down
4 changes: 2 additions & 2 deletions Lib/test/test_json/test_recursion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from test.test_json import PyTest, CTest
import platform
import unittest


class JSONTestObject:
pass
Expand Down Expand Up @@ -65,6 +64,7 @@ def default(self, o):
else:
self.fail("didn't raise ValueError on default recursion")


def test_highly_nested_objects_decoding(self):
# test that loading highly-nested objects doesn't segfault when C
# accelerations are used. See #12017
Expand Down

0 comments on commit 84e11fe

Please sign in to comment.