• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dsavransky / EXOSIMS / 11294204788

11 Oct 2024 02:30PM UTC coverage: 66.032%. First build
11294204788

Pull #395

github

web-flow
Merge 79a05365c into 18ce85989
Pull Request #395: np.Inf and np.array(obj, copy = False) changed

86 of 104 new or added lines in 26 files covered. (82.69%)

9543 of 14452 relevant lines covered (66.03%)

0.66 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

40.0
/EXOSIMS/util/_numpy_compat.py
1
import numpy as np
1✔
2

3
if np.lib.NumpyVersion(np.__version__) >= "2.0.0":
1✔
NEW
4
    copy_if_needed = None
×
5
elif np.lib.NumpyVersion(np.__version__) < "1.28.0":
1✔
6
    copy_if_needed = False
1✔
7
else:
8
    # 2.0.0 dev versions, handle cases where copy may or may not exist
NEW
9
    try:
×
NEW
10
        np.array([1]).__array__(copy=None)  # type: ignore[call-overload]
×
NEW
11
        copy_if_needed = None
×
NEW
12
    except TypeError:
×
NEW
13
        copy_if_needed = False
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc