Skip to content

Commit

Permalink
Added Python 3.13 test target; trivial cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yuce committed Aug 29, 2024
1 parent 216e017 commit d5c94b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: "Run tests with Python ${{ matrix.python-version }} on ${{ matrix.os }}"
strategy:
matrix:
python-version: [ '3.8', '3.12' ]
python-version: [ '3.8', '3.12', '3.13' ]
os: [ "ubuntu-22.04", "ubuntu-24.04" ]
fail-fast: false

Expand Down
2 changes: 0 additions & 2 deletions pyswip/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def _findSwiplFromExec():
swiHome = None

try: # try to get library path from swipl executable.

# We may have pl or swipl as the executable
cmd = Popen(["swipl", "--dump-runtime-variables"], stdout=PIPE)
ret = cmd.communicate()
Expand Down Expand Up @@ -1398,7 +1397,6 @@ def exit(self, code=0):
def cleanupProlog():
# only do something if prolog has been initialised
if PL_is_initialised(None, None):

# clean up the prolog system using the caught exit code
# if exit code is None, the program exits normally and we can use 0
# instead.
Expand Down

0 comments on commit d5c94b9

Please sign in to comment.