Browse Source

Merge branch 'merge.py3k' of github.com:LexMachinaInc/supervisor into merge.py3k

Gavin Carothers 11 years ago
parent
commit
fb951e16f9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      supervisor/tests/test_loggers.py

+ 2 - 2
supervisor/tests/test_loggers.py

@@ -192,7 +192,7 @@ class RotatingFileHandlerTests(FileHandlerTests):
         record = self._makeLogRecord('a' * 4)
 
         handler.emit(record) # 4 bytes
-        self.assert_(os.path.exists(self.filename))
+        self.assertTrue(os.path.exists(self.filename))
         self.assertFalse(os.path.exists(self.filename + '.1'))
 
         # Someone removes the active log file! :-(
@@ -200,7 +200,7 @@ class RotatingFileHandlerTests(FileHandlerTests):
         self.assertFalse(os.path.exists(self.filename))
 
         handler.emit(record) # 8 bytes, do rollover
-        self.assert_(os.path.exists(self.filename))
+        self.assertTrue(os.path.exists(self.filename))
         self.assertFalse(os.path.exists(self.filename + '.1'))