Skip to content

Commit

Permalink
Changed doctest that had platform-specific output
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Aug 25, 2021
1 parent befc008 commit dd1c0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cython_src/hfk.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def pd_to_hfk(pd_code, int prime=2, bool complex=False):
>>> gens, diff = data['generators'], data['differentials']
>>> vert = {(i,j):diff[i, j] for i, j in diff
... if gens[i][1] == gens[j][1] + 1}
>>> vert
{(2, 0): 1, (3, 4): 1}
>>> len(vert)
2
"""
result = <object>PDCodeToHFK(_get_pd_string(pd_code), prime, complex)
Py_DECREF(result)
Expand Down

0 comments on commit dd1c0dd

Please sign in to comment.