pytest-arraydiff 0.6.0__py3-none-any.whl → 0.6.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pytest_arraydiff/plugin.py +4 -2
- pytest_arraydiff/version.py +2 -2
- {pytest_arraydiff-0.6.0.dist-info → pytest_arraydiff-0.6.1.dist-info}/METADATA +5 -1
- pytest_arraydiff-0.6.1.dist-info/RECORD +9 -0
- {pytest_arraydiff-0.6.0.dist-info → pytest_arraydiff-0.6.1.dist-info}/WHEEL +1 -1
- pytest_arraydiff-0.6.0.dist-info/RECORD +0 -9
- {pytest_arraydiff-0.6.0.dist-info → pytest_arraydiff-0.6.1.dist-info}/LICENSE +0 -0
- {pytest_arraydiff-0.6.0.dist-info → pytest_arraydiff-0.6.1.dist-info}/entry_points.txt +0 -0
- {pytest_arraydiff-0.6.0.dist-info → pytest_arraydiff-0.6.1.dist-info}/top_level.txt +0 -0
pytest_arraydiff/plugin.py
CHANGED
|
@@ -310,8 +310,10 @@ class ArrayComparison(object):
|
|
|
310
310
|
# Find test name to use as plot name
|
|
311
311
|
filename = compare.kwargs.get('filename', None)
|
|
312
312
|
if filename is None:
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
if single_reference:
|
|
314
|
+
filename = item.originalname + '.' + extension
|
|
315
|
+
else:
|
|
316
|
+
filename = item.name + '.' + extension
|
|
315
317
|
filename = filename.replace('[', '_').replace(']', '_')
|
|
316
318
|
filename = filename.replace('_.' + extension, '.' + extension)
|
|
317
319
|
|
pytest_arraydiff/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pytest-arraydiff
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: pytest plugin to help with comparing array output from tests
|
|
5
5
|
Home-page: https://github.com/astropy/pytest-arraydiff
|
|
6
6
|
Author: The Astropy Developers
|
|
@@ -41,6 +41,10 @@ Requires-Dist: tables ; extra == 'test'
|
|
|
41
41
|
:target: https://github.com/astropy/pytest-arraydiff/actions
|
|
42
42
|
:alt: CI Status
|
|
43
43
|
|
|
44
|
+
.. image:: https://img.shields.io/pypi/v/pytest-arraydiff.svg
|
|
45
|
+
:target: https://pypi.org/project/pytest-arraydiff
|
|
46
|
+
:alt: PyPI Status
|
|
47
|
+
|
|
44
48
|
About
|
|
45
49
|
-----
|
|
46
50
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
pytest_arraydiff/__init__.py,sha256=ICVlMfJSyUfBfTrbT0iaRCQuzdTOdpNCGyxVOwgxXzQ,117
|
|
2
|
+
pytest_arraydiff/plugin.py,sha256=EiHNkfhbpbCaWj75nXsjVftCerQ84VT7__PofriTd0Q,13342
|
|
3
|
+
pytest_arraydiff/version.py,sha256=lgiCYGSijhLK71WmuudWf_AyhNAutwQWx2V8bV6a5VQ,411
|
|
4
|
+
pytest_arraydiff-0.6.1.dist-info/LICENSE,sha256=sx9xdEnc-QGbdeT_denLAE1qpXXXIO0qP2TRH-4sKe8,1448
|
|
5
|
+
pytest_arraydiff-0.6.1.dist-info/METADATA,sha256=iM0h6TII_DGeAKR6ulxHPw9_kC_s6RyKSx7QiZJtg7o,8545
|
|
6
|
+
pytest_arraydiff-0.6.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
+
pytest_arraydiff-0.6.1.dist-info/entry_points.txt,sha256=1mmqAdBTczR-Jj1RtaLXIdnibdhQBqaNCzRSaxhTRpk,54
|
|
8
|
+
pytest_arraydiff-0.6.1.dist-info/top_level.txt,sha256=7fVOoIyJHVuSQkxQKVkfifGCXbQoyqMWSgzmwEBeegQ,17
|
|
9
|
+
pytest_arraydiff-0.6.1.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
pytest_arraydiff/__init__.py,sha256=ICVlMfJSyUfBfTrbT0iaRCQuzdTOdpNCGyxVOwgxXzQ,117
|
|
2
|
-
pytest_arraydiff/plugin.py,sha256=ikhC5Pchm5WafjWA9LZYYXrcpvd63LXiX4cqh3Tt_tU,13261
|
|
3
|
-
pytest_arraydiff/version.py,sha256=2JKwcA-YQ0okV2N-gwTWy_n51igWrPcsKQFm0cnqsvw,411
|
|
4
|
-
pytest_arraydiff-0.6.0.dist-info/LICENSE,sha256=sx9xdEnc-QGbdeT_denLAE1qpXXXIO0qP2TRH-4sKe8,1448
|
|
5
|
-
pytest_arraydiff-0.6.0.dist-info/METADATA,sha256=0adcJqjMVVKqtLMF-R-xLhMSAW8bY6VKRizZ6DNbPAM,8405
|
|
6
|
-
pytest_arraydiff-0.6.0.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
|
7
|
-
pytest_arraydiff-0.6.0.dist-info/entry_points.txt,sha256=1mmqAdBTczR-Jj1RtaLXIdnibdhQBqaNCzRSaxhTRpk,54
|
|
8
|
-
pytest_arraydiff-0.6.0.dist-info/top_level.txt,sha256=7fVOoIyJHVuSQkxQKVkfifGCXbQoyqMWSgzmwEBeegQ,17
|
|
9
|
-
pytest_arraydiff-0.6.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|