Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
tomoscan
Commits
aeeb2d5b
Commit
aeeb2d5b
authored
Aug 25, 2020
by
payno
Committed by
payno
Aug 26, 2020
Browse files
remove some warnings (use collections.abc.Hashable instead of collections.Hashable)
parent
c17a93ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
tomoscan/esrf/test/test_edfscan.py
View file @
aeeb2d5b
...
...
@@ -58,9 +58,9 @@ class TestTomoBaseHashable(unittest.TestCase):
def
test_is_hashable
(
self
):
tomo_base
=
TomoScanBase
(
scan
=
self
.
_folder
,
type_
=
'toto'
)
self
.
assertTrue
(
isinstance
(
tomo_base
,
collections
.
Hashable
))
self
.
assertTrue
(
isinstance
(
tomo_base
,
collections
.
abc
.
Hashable
))
tomo_scan
=
EDFTomoScan
(
self
.
_folder
)
self
.
assertTrue
(
isinstance
(
tomo_scan
,
collections
.
Hashable
))
self
.
assertTrue
(
isinstance
(
tomo_scan
,
collections
.
abc
.
Hashable
))
class
TestScanFactory
(
unittest
.
TestCase
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment