Skip to content

Commit

Permalink
Ignore .dev and rc version in dimod serialization tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arcondello committed Jun 13, 2023
1 parent 0943e7c commit 7501b31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_serialization_cqm.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@
import numbers
import os
import os.path
import re
import shutil
import typing
import unittest

import dimod

DIMOD_VERSION = tuple(map(int, dimod.__version__.split(".")))[:3]
DIMOD_VERSION = tuple(map(int, re.search(r"\d+.\d+.\d+", dimod.__version__).group(0).split(".")))

try:
# dimod>=0.12.4
Expand Down

0 comments on commit 7501b31

Please sign in to comment.