For some reason python-pycurl's debuginfo in Rawhide is empty. I looked into it but could not find a reason and couldn't reproduce. However, I found a couple of other things during the search: setup.py tries to use curl-config --static-libs but no such thing exists at least in F-9. Also, setting PYTHONPATH in %check should make it run the tests against the built, not installed lib.
Created attachment 310951 [details] Fix curl-config usage
Created attachment 310952 [details] Re-enable test suite
Let me know if the debuginfo is still a problem.
-debuginfo seems ok now.