summaryrefslogtreecommitdiff
path: root/tests/test_log.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: Replace deprecated unittest.makeSuiteScott Talbert2023-02-021-1/+1
| | | | | | This function was never formally documented, but has been deprecated and will be removed in Python 3.13. Replaced with unittest.TestLoader.loadTestsFromTestCase.
* Fix imports in tests for Python 3Thomas Kluyver2014-06-011-1/+1
| | | | Closes gh-59
* Don't use six for testsThomas Kluyver2013-09-231-9/+7
|
* py2.5 compatibilities w/six.pyjquast2013-09-221-7/+8
| | | | | | | | | | -except Exception as e: +except Exception, err: the unfortunate use of six.b('') instead of b'' print(arg0, arg1) => six.print_(arg0, arg1) some autopep8 -i is definitely called for, some of these test cases are darn unreadable, but did partially pep8 some of the really-long-over-80col-lines.
* more py25 compatibilityjquast2013-09-221-0/+1
| | | | not even sure if pexpect can get as far back as python2.5, but its worth a shot.
* smartly use .replace & remove 'io' dep. for py2jquast2013-09-221-5/+2
| | | | here goes backwards compatibility testing for py2 versions -- though I have them all locally, trying for travis CI which would help identify problems going forward. I'm sure there is some six.PY3 things to work out yet, already noticed I need a from __future__ import for the 'with' contextmanager for python 2.5.
* cat(1) may display ^D\x08\x08 when ^D is used.jquast2013-09-221-3/+10
| | | | This causes various tests, that depend on cat(1) to fail on Mac OSX 10.8.5. These changes ensure that if ^D\x08\x08 ('^D', followed by '\b\b') is found, it is removed.
* Fix logging tests for Python 3Thomas Kluyver2013-09-201-23/+25
|
* Moved everything up one directory level.Noah Spurrier2012-10-261-0/+102