build-system/python: Fix deletion of .egg-info dirs created by tests.

* guix/build/python-build-system.scm (check): Use 'string=?' to compare
strings, not 'eqv?'.
This commit is contained in:
Mark H Weaver 2018-03-18 00:27:41 -04:00
parent 1e62645402
commit 171a117c61
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@
(let ((before (find-files "build" "\\.egg-info$" #:directories? #t)))
(call-setuppy test-target '() use-setuptools?)
(let* ((after (find-files "build" "\\.egg-info$" #:directories? #t))
(inter (lset-difference eqv? after before)))
(inter (lset-difference string=? after before)))
(for-each delete-file-recursively inter)))
(format #t "test suite not run~%"))
#t)