##// END OF EJS Templates
test-bdiff: move import inside the function to avoid test failure...
Pulkit Goyal -
r30931:f2ad0d80 default
parent child Browse files
Show More
@@ -3,8 +3,6 b' import collections'
3 import struct
3 import struct
4 import unittest
4 import unittest
5
5
6 import silenttestrunner
7
8 from mercurial import (
6 from mercurial import (
9 bdiff,
7 bdiff,
10 mpatch,
8 mpatch,
@@ -148,4 +146,5 b' class BdiffTests(unittest.TestCase):'
148 ['a\n', diffreplace(2, 10, 'a\na\na\na\n', '')])
146 ['a\n', diffreplace(2, 10, 'a\na\na\na\n', '')])
149
147
150 if __name__ == '__main__':
148 if __name__ == '__main__':
149 import silenttestrunner
151 silenttestrunner.main(__name__)
150 silenttestrunner.main(__name__)
General Comments 0
You need to be logged in to leave comments. Login now