Skip to content

Commit

Permalink
Merge pull request #732 from erooke/test-version
Browse files Browse the repository at this point in the history
test: check that exporter.library is >= 2.3.1 not == 2.3.1
  • Loading branch information
jdegenstein authored Oct 15, 2024
2 parents e2434d7 + b31c9e9 commit 93ad244
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_mesher.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import unittest, uuid
from packaging.specifiers import SpecifierSet
from build123d.build_enums import MeshType, Unit
from build123d.build_part import BuildPart
from build123d.build_sketch import BuildSketch
Expand Down Expand Up @@ -36,7 +37,7 @@ def assertVectorAlmostEquals(
class TestProperties(unittest.TestCase):
def test_version(self):
exporter = Mesher()
self.assertEqual(exporter.library_version, "2.3.1")
assert exporter.library_version in SpecifierSet(">= 2.3.1")

def test_units(self):
for unit in Unit:
Expand Down

0 comments on commit 93ad244

Please sign in to comment.