Skip to content

Commit

Permalink
More coverage pragmas for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 16, 2024
1 parent 10f593a commit da1712e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/irclog2html/irclogsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@

try:
import cgi
import cgitb
except ImportError:
# Python 3.13 removed all CGI support
cgi = None
else: # pragma: nocover
import cgitb


DEFAULT_LOGFILE_PATH = os.path.dirname(__file__)
Expand Down

0 comments on commit da1712e

Please sign in to comment.