Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c27a93

Browse files
committed
tests: minor fix in ptrack.py
1 parent c8c7436 commit 4c27a93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ptrack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ def test_ptrack_unprivileged(self):
483483

484484
if node.major_version < 11:
485485
# Reviewer, NB: skip this test in case of old ptrack?
486-
self.fnames = [
486+
fnames = [
487487
'pg_catalog.oideq(oid, oid)',
488488
'pg_catalog.ptrack_version()',
489489
'pg_catalog.pg_ptrack_clear()',
@@ -493,7 +493,7 @@ def test_ptrack_unprivileged(self):
493493
'pg_catalog.pg_ptrack_get_block_2(oid, oid, oid, bigint)'
494494
]
495495

496-
for self.fname in self.fnames:
496+
for fname in fnames:
497497
node.safe_psql(
498498
"backupdb",
499499
"GRANT EXECUTE ON FUNCTION {0} TO backup".format(fname))

0 commit comments

Comments
 (0)