( )⚙ D4697 tests: use assertTrue() instead of assert_() in test-bdiff.py

This is an archive of the discontinued Mercurial Phabricator instance.

tests: use assertTrue() instead of assert_() in test-bdiff.py
ClosedPublic

Authored by pulkit on Sep 23 2018, 9:09 PM.

Details

Summary

The later is deprecated in Python 3.

This patch also makes the test pass on Python 3.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Sep 23 2018, 9:09 PM
This revision was automatically updated to reflect the committed changes.