Remove py2.6 cruft

This commit is contained in:
Simeon Warner 2021-03-18 19:59:50 -04:00
parent 49a52478e7
commit f5cd751c67

View File

@ -36,10 +36,4 @@ class TestCase(unittest.TestCase):
@property
def tmpdir(self):
"""Read-only access to _tmpdir, just in case... The rmtree scares me."""
#
# FIXME - Hack to work on python2.6 where setUpClass is not called, will
# FIXME - not have proper tidy as tearDownClass will not be called.
# FIXME - Remove when 2.6 no longer supported
if (not self._tmpdir and sys.version_info < (2, 7)):
self.setUpClass()
return(self._tmpdir)