Skip to content

Commit

Permalink
fix stupid bug in test that was responsible for it failing randomly :)
Browse files Browse the repository at this point in the history
  • Loading branch information
embray committed Jun 2, 2024
1 parent 523a353 commit 8a4f573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gappy/gapobj.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ cdef class GapObj:
>>> from cysignals.alarm import alarm, AlarmInterrupt
>>> a, b = gap.GL(1000, 3).GeneratorsOfGroup(); g = a * b
>>> try:
... alarm(0.5); g ^ (2 ^ 10000)
... alarm(0.5); g ^ (gap(2) ^ 10000)
... except AlarmInterrupt:
... print('interrupted long computation')
...
Expand Down

0 comments on commit 8a4f573

Please sign in to comment.