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.
@@ -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
- filename = item.name + '.' + extension
314
- if not single_reference:
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
 
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.6.0'
16
- __version_tuple__ = version_tuple = (0, 6, 0)
15
+ __version__ = version = '0.6.1'
16
+ __version_tuple__ = version_tuple = (0, 6, 1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytest-arraydiff
3
- Version: 0.6.0
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,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.3)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -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,,