diff --git a/tests/rpmpython.at b/tests/rpmpython.at index 16610e6..5d51c74 100644 --- a/tests/rpmpython.at +++ b/tests/rpmpython.at @@ -92,7 +92,7 @@ h['arch'] = 'noarch' myprint(h['nevra']) del h['epoch'] myprint(h['nevra']) -for a in ['name', 'bugurl', '__class__', '__foo__', ]: +for a in ['name', 'bugurl', '__foo__', ]: try: x = getattr(h, a) myprint(x) @@ -103,7 +103,6 @@ for a in ['name', 'bugurl', '__class__', '__foo__', ]: testpkg-1.0-1.noarch testpkg None - 'rpm.hdr' object has no attribute '__foo__'] )