@@ -164,7 +164,7 @@ class BasicUsageTestSuite(unittest.TestCase):
164164
165165 def test_absolute_truth_and_meaning (self ):
166166 """Insanity Test. if ( is true ) usage."""
167- assert True
167+ self . assertTrue ( True )
168168
169169 def test_syntax (self ):
170170 """Test case importing code. if ( import is not None ) usage."""
@@ -178,7 +178,7 @@ def test_syntax(self):
178178 print (str (type (impErr )))
179179 print (str (impErr ))
180180 theResult = False
181- assert theResult
181+ self . assertTrue ( theResult )
182182
183183 def test_template_case (self ):
184184 """Test case template for: python -m pythonrepo.* --version usage."""
@@ -217,7 +217,7 @@ def test_template_case(self):
217217 err = None
218218 del err
219219 theResult = False
220- assert theResult
220+ self . assertTrue ( theResult )
221221
222222 def test_profile_template_case (self ):
223223 """Test case template for profiling."""
@@ -255,7 +255,7 @@ def test_profile_template_case(self):
255255 err = None
256256 del err
257257 theResult = False
258- assert theResult
258+ self . assertTrue ( theResult )
259259
260260 @unittest .expectedFailure
261261 def test_fail_template_case (self ):
@@ -294,7 +294,7 @@ def test_fail_template_case(self):
294294 err = None
295295 del err
296296 theResult = False
297- assert theResult
297+ self . assertTrue ( theResult )
298298
299299 @unittest .expectedFailure
300300 def test_bad_template_case (self ):
@@ -333,7 +333,7 @@ def test_bad_template_case(self):
333333 err = None
334334 del err
335335 theResult = False
336- assert theResult
336+ self . assertTrue ( theResult )
337337
338338
339339if __name__ == '__main__' :
0 commit comments