Skip to content

Commit 43eeb43

Browse files
author
David Noble
committed
Fix for running tests on Windows under Python 2.6
TODO: * Track down the source of this error which occurs on OS X, Windows, and--presumably--Linux when running against Splunk 6.2 or 6.3 under Python 2.6; AttributeError: 'TestCookieAuthentication' object has no attribute 'assertIsNotNone' * Test with Python 2.6 under Linux.
1 parent 99a8918 commit 43eeb43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,6 @@ def tearDown(self):
259259
except HTTPError as error:
260260
if not (os.name == 'nt' and error.status == 500):
261261
raise
262-
print 'Ignoring failure to delete {} during tear down: {}'.format(appName, error)
262+
print 'Ignoring failure to delete {0} during tear down: {1}'.format(appName, error)
263263
if self.service.restart_required:
264264
self.clear_restart_message()

0 commit comments

Comments
 (0)