Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Commits
189f9c6b
Commit
189f9c6b
authored
1 year ago
by
Sebastian Müller
🐈
Browse files
Options
Downloads
Patches
Plain Diff
tests: fix _check_shape test
parent
7068f9f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!260
Masked array support
Pipeline
#188279
passed with stages
in 5 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/data/test_tools.py
+2
-2
2 additions, 2 deletions
tests/data/test_tools.py
with
2 additions
and
2 deletions
tests/data/test_tools.py
+
2
−
2
View file @
189f9c6b
...
...
@@ -261,10 +261,10 @@ class TestDataTools(unittest.TestCase):
finam
.
Info
(
time
,
grid
=
finam
.
NoGrid
()),
)
finam
.
data
.
tools
.
_check_shape
(
xdata
,
finam
.
NoGrid
())
finam
.
data
.
tools
.
_check_shape
(
xdata
.
shape
[
1
:]
,
finam
.
NoGrid
())
with
self
.
assertRaises
(
finam
.
errors
.
FinamDataError
):
finam
.
data
.
tools
.
_check_shape
(
xdata
,
finam
.
NoGrid
(
dim
=
1
))
finam
.
data
.
tools
.
_check_shape
(
xdata
.
shape
[
1
:]
,
finam
.
NoGrid
(
dim
=
1
))
def
test_quantify
(
self
):
xdata
=
np
.
asarray
([
1.0
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment