summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-01-16 09:05:11 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-01-16 09:05:11 (GMT)
commit2c1d3e320fa26d2f8da3196a4966d2c9ece77430 (patch)
tree31f8078d51e3e4a4e3f92f60f7128300ce93a856
parente8afd01db8c96ac686ab1834a04c0467e8d092e9 (diff)
downloadcpython-2c1d3e320fa26d2f8da3196a4966d2c9ece77430.zip
cpython-2c1d3e320fa26d2f8da3196a4966d2c9ece77430.tar.gz
cpython-2c1d3e320fa26d2f8da3196a4966d2c9ece77430.tar.bz2
Issue #23883: Removed redundant names from blacklists.
-rw-r--r--Lib/test/test_calendar.py2
-rw-r--r--Lib/test/test_tarfile.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_calendar.py b/Lib/test/test_calendar.py
index d95ad04..6dad058 100644
--- a/Lib/test/test_calendar.py
+++ b/Lib/test/test_calendar.py
@@ -817,7 +817,7 @@ class CommandLineTestCase(unittest.TestCase):
class MiscTestCase(unittest.TestCase):
def test__all__(self):
- blacklist = {'error', 'mdays', 'January', 'February', 'EPOCH',
+ blacklist = {'mdays', 'January', 'February', 'EPOCH',
'MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY',
'SATURDAY', 'SUNDAY', 'different_locale', 'c',
'prweek', 'week', 'format', 'formatstring', 'main'}
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py
index fee1a6c..9ffa2b5 100644
--- a/Lib/test/test_tarfile.py
+++ b/Lib/test/test_tarfile.py
@@ -1998,7 +1998,7 @@ class MiscTest(unittest.TestCase):
tarfile.itn(0x10000000000, 6, tarfile.GNU_FORMAT)
def test__all__(self):
- blacklist = {'version', 'bltn_open', 'symlink_exception',
+ blacklist = {'version', 'symlink_exception',
'NUL', 'BLOCKSIZE', 'RECORDSIZE', 'GNU_MAGIC',
'POSIX_MAGIC', 'LENGTH_NAME', 'LENGTH_LINK',
'LENGTH_PREFIX', 'REGTYPE', 'AREGTYPE', 'LNKTYPE',
@@ -2011,7 +2011,7 @@ class MiscTest(unittest.TestCase):
'filemode',
'EmptyHeaderError', 'TruncatedHeaderError',
'EOFHeaderError', 'InvalidHeaderError',
- 'SubsequentHeaderError', 'ExFileObject', 'TarIter',
+ 'SubsequentHeaderError', 'ExFileObject',
'main'}
support.check__all__(self, tarfile, blacklist=blacklist)