Skip to content

Fix a bunch of code smells and a Py<3.8 error #179

Fix a bunch of code smells and a Py<3.8 error

Fix a bunch of code smells and a Py<3.8 error #179

GitHub Actions / Unit Test Results failed Dec 24, 2023 in 0s

30 errors, 291 pass in 23m 4s

    5 files  ±    0      5 suites  ±0   23m 4s ⏱️ - 27m 54s
321 tests +    4  291 ✔️ ±    0  0 💤 ±0  0 ±0    30 🔥 +  4 
411 runs   - 779  291 ✔️  - 873  0 💤 ±0  0 ±0  120 🔥 +94 

Results for commit 2d9dad0. ± Comparison against earlier commit 770757d.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.test_Analysis

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/test_Analysis.py:17: in <module>
    from Stoner import Data
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.test_Core

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/test_Core.py:19: in <module>
    from Stoner import Data, __home__
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.test_FileFormats

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/test_FileFormats.py:14: in <module>
    from Stoner import Data, __homepath__, __datapath__, ImageFile
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.test_HDF5

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/test_HDF5.py:7: in <module>
    import Stoner
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.test_Util

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/test_Util.py:7: in <module>
    import Stoner.Util as SU
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.test_Zip

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/test_Zip.py:8: in <module>
    import Stoner
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.test_doc_samples

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/test_doc_samples.py:4: in <module>
    from Stoner.compat import listdir_recursive
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.Image.test_core

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/Image/test_core.py:8: in <module>
    from Stoner.Image import ImageArray, ImageFile
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.Image.test_folder

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/Image/test_folder.py:5: in <module>
    from Stoner.Image import ImageArray, ImageFolder
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.Image.test_kerr

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/Image/test_kerr.py:8: in <module>
    from Stoner.Image.kerr import KerrArray, KerrImageFile, KerrStack
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.Image.test_listfuncs

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/Image/test_listfuncs.py:8: in <module>
    from Stoner.Image import ImageArray, ImageFile
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.Image.test_stack

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/Image/test_stack.py:8: in <module>
    from Stoner.Image import ImageFile, ImageFolder, ImageStack
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.Image.test_wdigets

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/Image/test_wdigets.py:15: in <module>
    import Stoner
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.analysis.test_columns

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/analysis/test_columns.py:15: in <module>
    from Stoner import Data
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.analysis.test_filtering

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/analysis/test_filtering.py:6: in <module>
    from Stoner import Data
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.analysis.fitting.test_mixins

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/analysis/fitting/test_mixins.py:20: in <module>
    from Stoner import Data
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.core.test_exceptions

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/core/test_exceptions.py:4: in <module>
    from Stoner.core.exceptions import assertion
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.core.test_interface

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/core/test_interface.py:10: in <module>
    from Stoner import Data, __home__
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.core.test_operators

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/core/test_operators.py:9: in <module>
    from Stoner import Data, __home__
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.core.test_setas

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/core/test_setas.py:19: in <module>
    from Stoner import Data, __home__
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.core.test_typeHintedDict

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/core/test_typeHintedDict.py:11: in <module>
    from Stoner.core.base import typeHintedDict
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.folders.test_Folders

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/folders/test_Folders.py:19: in <module>
    from Stoner.compat import Hyperspy_ok
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.folders.test_each

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/folders/test_each.py:13: in <module>
    from Stoner import DataFolder
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.folders.test_metadata

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/folders/test_metadata.py:12: in <module>
    from Stoner.compat import *
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 4 runs with error: tests.Stoner.folders.test_mixins

artifacts/Unit Test Results (Python 3.10)/pytest.xml
artifacts/Unit Test Results (Python 3.7)/pytest.xml
artifacts/Unit Test Results (Python 3.8)/pytest.xml
artifacts/Unit Test Results (Python 3.9)/pytest.xml
Raw output
tests/Stoner/folders/test_mixins.py:17: in <module>
    from Stoner import Data, __home__, Options
Stoner/__init__.py:28: in <module>
    from . import core, analysis, formats, plot, tools, Image
Stoner/core/__init__.py:24: in <module>
    from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
Stoner/core/base.py:35: in <module>
    from ..compat import string_types, int_types, _pattern_type
Stoner/compat.py:43: in <module>
    modules["sre_parse"] = re._parser
E   AttributeError: module 're' has no attribute '_parser'