diff -r 57875cf423c9 -r 2372284d9457 tests/svnurlof.py --- a/tests/svnurlof.py Sat Oct 05 10:29:34 2019 -0400 +++ b/tests/svnurlof.py Sun Oct 06 09:45:02 2019 -0400 @@ -6,6 +6,7 @@ util, ) + def main(argv): enc = util.urlreq.quote(pycompat.sysbytes(argv[1])) if pycompat.iswindows: @@ -14,5 +15,6 @@ fmt = 'file://%s' print(fmt % pycompat.sysstr(enc)) + if __name__ == '__main__': main(sys.argv)