We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89e6d4d commit 783ec14Copy full SHA for 783ec14
src/ufonormalizer/__init__.py
@@ -16,7 +16,7 @@
16
import logging
17
18
try:
19
- from _version import __version__
+ from ._version import __version__
20
except ImportError:
21
22
from setuptools_scm import get_version
tests/test_ufonormalizer.py
@@ -1582,6 +1582,11 @@ def test_normalizeLibPlistWithBytesData(self):
1582
Ny8wOS8yNiAwOToxMzoyMXEGc31xB2JzLg==
1583
"""))
1584
1585
+ def test_version_not_unknown(self):
1586
+ """Test that package version is not 'unknown', which should only happen in cases
1587
+ where the package has not been installed and is outside of source control. """
1588
+ self.assertNotEqual(ufonormalizerVersion, 'unknown')
1589
+
1590
1591
class XMLWriterTest(unittest.TestCase):
1592
def __init__(self, methodName):
0 commit comments