Follow-up to r1899012:
* subversion/tests/cmdline/upgrade_tests.py
(check_format): Rename one more use of the local variable.
This will avoid a NameError when trying to raise svntest.Failure.
@@ -105,7 +105,7 @@ def check_format(sbox, expected_format):
formats = sbox.read_wc_formats()
if formats[''] != expected_format:
raise svntest.Failure("found format '%d'; expected '%d'; in wc '%s'" %
- (found_format, expected_format, sbox.wc_dir))
+ (formats[''], expected_format, sbox.wc_dir))
def check_pristine(sbox, files):
for file in files:
